Added quick_lint_js for nvim

This commit is contained in:
z3rOR0ne 2022-08-29 03:04:28 -07:00
parent 92a224d2e6
commit 7e51bf6600
2 changed files with 10 additions and 1 deletions

View file

@ -96,6 +96,9 @@ local on_attach = function(client)
require'completion'.on_attach(client)
end
-- Enable quick-list-js
require('lspconfig/quick_lint_js').setup {}
-- Enable rust-analyzer
lspconfig.rust_analyzer.setup({
on_attach=on_attach,
@ -120,7 +123,7 @@ lspconfig.rust_analyzer.setup({
})
-- Enable some language servers with the additional completion capabilities offered by nvim-cmp
local servers = { 'dockerls', 'grammarly', 'html', 'sqls', 'rome', 'sumneko_lua', 'pyright', 'bashls', 'clangd', 'rust_analyzer', 'volar', 'zk', }
local servers = { 'dockerls', 'grammarly', 'html', 'sqls', 'quick_lint_js', 'sumneko_lua', 'pyright', 'bashls', 'clangd', 'rust_analyzer', 'volar', 'zk', }
for _, lsp in ipairs(servers) do
lspconfig[lsp].setup {
capabilities = capabilities,

View file

@ -28,3 +28,9 @@ https://www.itechtics.com/windows-10-download-iso/
Install debuginfod (only debugger query tool)
doas pacman -S debuginfod
Update Neovim for JS Linting:
:LspInstallInfo (update all packages and uninstall rome, instead install quick_linst_js)
paru quick-linst-js (1st option)