|
|
@ -27,8 +27,6 @@ _NgConfigValues = {
|
|
|
|
-- your on_attach will be called at end of navigator on_attach
|
|
|
|
-- your on_attach will be called at end of navigator on_attach
|
|
|
|
end,
|
|
|
|
end,
|
|
|
|
ts_fold = false,
|
|
|
|
ts_fold = false,
|
|
|
|
-- code_action_prompt = {enable = true, sign = true, sign_priority = 40, virtual_text = true},
|
|
|
|
|
|
|
|
-- code_lens_action_prompt = {enable = true, sign = true, sign_priority = 40, virtual_text = true},
|
|
|
|
|
|
|
|
treesitter_analysis = true, -- treesitter variable context
|
|
|
|
treesitter_analysis = true, -- treesitter variable context
|
|
|
|
transparency = 50, -- 0 ~ 100 blur the main window, 100: fully transparent, 0: opaque, set to nil to disable it
|
|
|
|
transparency = 50, -- 0 ~ 100 blur the main window, 100: fully transparent, 0: opaque, set to nil to disable it
|
|
|
|
lsp_signature_help = true, -- if you would like to hook ray-x/lsp_signature plugin in navigator
|
|
|
|
lsp_signature_help = true, -- if you would like to hook ray-x/lsp_signature plugin in navigator
|
|
|
@ -58,7 +56,6 @@ _NgConfigValues = {
|
|
|
|
format_on_save = true, -- set to false to disasble lsp code format on save (if you are using prettier/efm/formater etc)
|
|
|
|
format_on_save = true, -- set to false to disasble lsp code format on save (if you are using prettier/efm/formater etc)
|
|
|
|
disable_format_cap = {}, -- a list of lsp disable file format (e.g. if you using efm or vim-codeformat etc), empty by default
|
|
|
|
disable_format_cap = {}, -- a list of lsp disable file format (e.g. if you using efm or vim-codeformat etc), empty by default
|
|
|
|
disable_lsp = {}, -- a list of lsp server disabled for your project, e.g. denols and tsserver you may
|
|
|
|
disable_lsp = {}, -- a list of lsp server disabled for your project, e.g. denols and tsserver you may
|
|
|
|
code_lens = false,
|
|
|
|
|
|
|
|
-- only want to enable one lsp server
|
|
|
|
-- only want to enable one lsp server
|
|
|
|
disply_diagnostic_qf = true, -- always show quickfix if there are diagnostic errors
|
|
|
|
disply_diagnostic_qf = true, -- always show quickfix if there are diagnostic errors
|
|
|
|
diagnostic_load_files = false, -- lsp diagnostic errors list may contains uri that not opened yet set to true
|
|
|
|
diagnostic_load_files = false, -- lsp diagnostic errors list may contains uri that not opened yet set to true
|
|
|
@ -133,6 +130,10 @@ M.deprecated = function(cfg)
|
|
|
|
warn('disable_format_ft renamed to disable_format_cap')
|
|
|
|
warn('disable_format_ft renamed to disable_format_cap')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if cfg.lsp ~= nil and cfg.lsp.code_lens == true then
|
|
|
|
|
|
|
|
warn('code_lens moved to lsp.code_lens_action')
|
|
|
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
if cfg.lspinstall ~= nil then
|
|
|
|
if cfg.lspinstall ~= nil then
|
|
|
|
warn('lspinstall deprecated, please use lsp-installer instead or use "lspinstall" branch')
|
|
|
|
warn('lspinstall deprecated, please use lsp-installer instead or use "lspinstall" branch')
|
|
|
|
end
|
|
|
|
end
|
|
|
|