update lsp status

neovim_0_5
ray-x 3 years ago
parent 41746b63ce
commit fda09ffd8b

@ -40,9 +40,7 @@ M.setup = function(cfg)
require('navigator.definition')
require('navigator.hierarchy')
require('navigator.implementation')
print("navigator loader")
-- log("navigator loader")
if M.config_values.code_action_prompt.enable then
vim.cmd [[autocmd CursorHold,CursorHoldI * lua require'navigator.codeAction'.code_action_prompt()]]
end

@ -10,10 +10,18 @@ if packer_plugins ~= nil then
vim.cmd [[packadd lsp-status.nvim]]
-- if lazyloading
end
if not packer_plugins["ray-x/guihua.lua"] or not packer_plugins["guihua.lua"].loaded then
vim.cmd [[packadd guihua.lua]]
-- if lazyloading
end
end
if package.loaded['lspconfig'] then
lspconfig = require "lspconfig"
end
if package.loaded['lsp-status'] then
lsp_status = require("lsp-status")
end
lspconfig = require "lspconfig"
lsp_status = require("lsp-status")
local highlight = require "navigator.lspclient.highlight"
if lspconfig == nil then
error("loading lsp config")

Loading…
Cancel
Save