✨ Added quick_lint_js for nvim
This commit is contained in:
parent
92a224d2e6
commit
7e51bf6600
2 changed files with 10 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue