nvim: lsp: Fix null-ls setup

This commit is contained in:
Sanchayan Maity 2021-09-24 10:32:47 +05:30
parent 350a6edd2c
commit 9ab36d4b1b

View file

@ -190,7 +190,7 @@ end
-- Required by nvim-lsp-ts-utils to provide ESLint code actions, diagnostics -- Required by nvim-lsp-ts-utils to provide ESLint code actions, diagnostics
-- and formatting. -- and formatting.
null_ls.config {} null_ls.config {}
null_ls.setup {} nvim_lsp["null-ls"].setup {}
local servers = { 'hls', 'rust_analyzer', 'pylsp', 'tsserver' } local servers = { 'hls', 'rust_analyzer', 'pylsp', 'tsserver' }
for _, lsp in ipairs(servers) do for _, lsp in ipairs(servers) do