Przeglądaj źródła

fix(lsp): remove redundant handlers setting (#4264)

CPea 2 lat temu
rodzic
commit
d1c1bace22
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      lua/lvim/lsp/init.lua

+ 0 - 2
lua/lvim/lsp/init.lua

@@ -75,8 +75,6 @@ function M.common_on_attach(client, bufnr)
   add_lsp_buffer_keybindings(bufnr)
   add_lsp_buffer_options(bufnr)
   lu.setup_document_symbols(client, bufnr)
-  vim.lsp.handlers["textDocument/hover"] = vim.lsp.with(vim.lsp.handlers.hover, { border = "rounded" })
-  vim.lsp.handlers["textDocument/signatureHelp"] = vim.lsp.with(vim.lsp.handlers.signature_help, { border = "rounded" })
 end
 
 function M.get_common_opts()