I was able to set up variable completion and full directive support, but variable hover won't work even with autocmd setlocal iskeyword+=$. Is there something similar to b:coc_additional_keywords in the native LSP client?
if not lspconfig.pappasam_nginx then
configs.pappasam_nginx = {
default_config = {
cmd = {'nginx-language-server'};
filetypes = {'nginx'};
root_dir = function(fname)
return util.root_pattern("nginx.conf", ".git")(fname) or vim.loop.os_homedir()
end;
settings = {};
};
}
end
local capabilities = vim.lsp.protocol.make_client_capabilities()
capabilities.textDocument.completion.completionItem.snippetSupport = true
lspconfig.pappasam_nginx.setup{}
I was able to set up variable completion and full directive support, but variable hover won't work even with autocmd
setlocal iskeyword+=$
. Is there something similar tob:coc_additional_keywords
in the native LSP client?