diff options
Diffstat (limited to 'lua/lvim/lsp/init.lua')
| -rw-r--r-- | lua/lvim/lsp/init.lua | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/lua/lvim/lsp/init.lua b/lua/lvim/lsp/init.lua index 13fafae0..2f3258c9 100644 --- a/lua/lvim/lsp/init.lua +++ b/lua/lvim/lsp/init.lua @@ -50,10 +50,10 @@ end  function M.common_on_exit(_, _)    if lvim.lsp.document_highlight then -    pcall(vim.api.nvim_del_augroup_by_name, "lsp_document_highlight") +    autocmds.clear_augroup "lsp_document_highlight"    end    if lvim.lsp.code_lens_refresh then -    pcall(vim.api.nvim_del_augroup_by_name, "lsp_code_lens_refresh") +    autocmds.clear_augroup "lsp_code_lens_refresh"    end  end @@ -74,7 +74,7 @@ function M.common_on_attach(client, bufnr)    if lvim.lsp.document_highlight then      lu.setup_document_highlight(client, bufnr)    end -  if lvim.lsp.code_lens_refresh == false then +  if lvim.lsp.code_lens_refresh then      lu.setup_codelens_refresh(client, bufnr)    end    add_lsp_buffer_keybindings(bufnr)  | 
