Browse Source

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

CPea 2 năm trước cách đây
mục cha
commit
d1c1bace22
1 tập tin đã thay đổi với 0 bổ sung2 xóa
  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()