updated code action window

This commit is contained in:
MasterGordon 2021-11-04 22:39:20 +01:00
parent be73c49348
commit 4a4081bee8
2 changed files with 2 additions and 9 deletions

View File

@ -152,7 +152,7 @@ return require("packer").startup(
require "plugins/lsp"
end,
requires = {
"RishabhRD/nvim-lsputils",
"hood/popui.nvim",
"onsails/lspkind-nvim",
"ray-x/lsp_signature.nvim",
"jose-elias-alvarez/nvim-lsp-ts-utils"

View File

@ -1,11 +1,4 @@
vim.lsp.handlers["textDocument/codeAction"] = require "lsputil.codeAction".code_action_handler
vim.lsp.handlers["textDocument/references"] = require "lsputil.locations".references_handler
vim.lsp.handlers["textDocument/definition"] = require "lsputil.locations".definition_handler
vim.lsp.handlers["textDocument/declaration"] = require "lsputil.locations".declaration_handler
vim.lsp.handlers["textDocument/typeDefinition"] = require "lsputil.locations".typeDefinition_handler
vim.lsp.handlers["textDocument/implementation"] = require "lsputil.locations".implementation_handler
vim.lsp.handlers["textDocument/documentSymbol"] = require "lsputil.symbols".document_handler
vim.lsp.handlers["workspace/symbol"] = require "lsputil.symbols".workspace_handler
vim.ui.select = require "popui.ui-overrider"
local signError = vim.fn.sign_getdefined("DiagnosticSignError")
signError["text"] = ""