diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2022-10-14 11:29:15 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2022-10-14 11:29:15 +0200 |
commit | fce94bd9d41205672aff00da8cd4f6215aca8b24 (patch) | |
tree | c633c352775f9cce4dd64be8a32a8f26a1ab9809 /lua/user | |
parent | 0fc17acd1ac86e9080cd998b40ff24a1a1336054 (diff) | |
download | vim-fce94bd9d41205672aff00da8cd4f6215aca8b24.zip vim-fce94bd9d41205672aff00da8cd4f6215aca8b24.tar.gz |
update plugins
Diffstat (limited to 'lua/user')
-rw-r--r-- | lua/user/lsp/handlers.lua | 4 | ||||
-rw-r--r-- | lua/user/nvim-tree.lua | 1 |
2 files changed, 2 insertions, 3 deletions
diff --git a/lua/user/lsp/handlers.lua b/lua/user/lsp/handlers.lua index 907f479..099b516 100644 --- a/lua/user/lsp/handlers.lua +++ b/lua/user/lsp/handlers.lua @@ -46,7 +46,7 @@ end local function lsp_highlight_document(client) -- Set autocommands conditional on server_capabilities - if client.resolved_capabilities.document_highlight then + if client.server_capabilities.document_highlight then vim.api.nvim_exec( [[ augroup lsp_document_highlight @@ -79,7 +79,7 @@ end M.on_attach = function(client, bufnr) if client.name == "tsserver" then - client.resolved_capabilities.document_formatting = false + client.server_capabilities.document_formatting = false end lsp_keymaps(bufnr) lsp_highlight_document(client) diff --git a/lua/user/nvim-tree.lua b/lua/user/nvim-tree.lua index 23d3b24..d94da10 100644 --- a/lua/user/nvim-tree.lua +++ b/lua/user/nvim-tree.lua @@ -78,7 +78,6 @@ nvim_tree.setup { }, view = { width = 30, - height = 30, hide_root_folder = false, side = "left", -- auto_resize = true, |