refactor(nvim): nginx ls should use global lsp_capabilities

This commit is contained in:
Price Hiller 2023-03-02 09:46:21 -06:00
parent df8369ec7c
commit 55674ef60e
No known key found for this signature in database

View File

@ -347,7 +347,7 @@ vim.api.nvim_create_autocmd("FileType", {
name = "Nginx-ls",
cmd = { lsp_server_bin_dir .. "nginx-language-server" },
root_dir = vim.fn.getcwd(),
capabilities = vim.lsp.protocol.make_client_capabilities(),
capabilities = lsp_capabilities,
on_attach = on_attach
})