refactor(nvim): nginx ls should use global lsp_capabilities
This commit is contained in:
parent
df8369ec7c
commit
55674ef60e
@ -347,7 +347,7 @@ vim.api.nvim_create_autocmd("FileType", {
|
|||||||
name = "Nginx-ls",
|
name = "Nginx-ls",
|
||||||
cmd = { lsp_server_bin_dir .. "nginx-language-server" },
|
cmd = { lsp_server_bin_dir .. "nginx-language-server" },
|
||||||
root_dir = vim.fn.getcwd(),
|
root_dir = vim.fn.getcwd(),
|
||||||
capabilities = vim.lsp.protocol.make_client_capabilities(),
|
capabilities = lsp_capabilities,
|
||||||
on_attach = on_attach
|
on_attach = on_attach
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user