bugfix highlight reference

neovim_0_5
ray-x 3 years ago
parent 94a9f8ba3d
commit 599211ffb7

@ -141,6 +141,7 @@ Treetsitter symbols in all buffers
- Early phase, bugs expected
- Async (some of the requests is slow on large codebase and might be good to use co-rountine)
- More clients. I use go, python, js/ts, java, c/cpp, lua most of the time. Do not test other languages (e.g dart, swift etc)
- Configure options
```

@ -14,6 +14,7 @@ end
lspconfig = require "lspconfig"
lsp_status = require("lsp-status")
local highlight = require "navigator.lspclient.highlight"
if lspconfig == nil then
error("loading lsp config")
end
@ -130,7 +131,7 @@ local sqls_cfg = {
on_attach = function(client, bufnr)
client.resolved_capabilities.execute_command = true
lsp_status.on_attach(client, bufnr)
require "utils.highlight".diagnositc_config_sign()
highlight.diagnositc_config_sign()
require "sqls".setup {picker = "telescope"} -- or default
end,
settings = {
@ -217,8 +218,8 @@ local function lsp_status_setup()
lsp_status.config(lsp_status_cfg)
end
require "utils.highlight".diagnositc_config_sign()
require "utils.highlight".add_highlight()
highlight.diagnositc_config_sign()
highlight.add_highlight()
end
local function setup(user_opts)

Loading…
Cancel
Save