diff options
| author | yuzu-eva <stevenhu@web.de> | 2022-05-28 18:48:20 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2022-05-28 18:48:20 +0200 |
| commit | 6979654c01fd7d3e68408b15aaed478a71553629 (patch) | |
| tree | 328e9cfed78fe9d3ec470f6b0284465927689489 /.config/nvim/lua/user/plugins/lspconfig.lua | |
| parent | 25d7bd9684da7785290ecdb8760fb9e16a950adb (diff) | |
added luasnip
Diffstat (limited to '.config/nvim/lua/user/plugins/lspconfig.lua')
| -rw-r--r-- | .config/nvim/lua/user/plugins/lspconfig.lua | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/.config/nvim/lua/user/plugins/lspconfig.lua b/.config/nvim/lua/user/plugins/lspconfig.lua index 1467d66..b5dfc86 100644 --- a/.config/nvim/lua/user/plugins/lspconfig.lua +++ b/.config/nvim/lua/user/plugins/lspconfig.lua @@ -69,6 +69,14 @@ require 'lspconfig'.tsserver.setup { } } +require 'lspconfig'.html.setup { + on_attach = on_attach, + capabilities = capabilities, + flags = { + debounce_text_changes = 150, + } +} + local runtime_path = vim.split(package.path, ';') table.insert(runtime_path, "lua/?.lua") table.insert(runtime_path, "lua/?/init.lua") @@ -88,8 +96,8 @@ require 'lspconfig'.sumneko_lua.setup { path = runtime_path, }, diagnostics = { - -- Recognize the `vim` und `use` global - globals = { 'vim', 'use' }, + -- Recognize globals + globals = { 'vim', 'use', 'parse' }, }, workspace = { -- Make server aware of Neovim runtime files |
