|
|
|
@ -93,15 +93,15 @@ return {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
lspconfig.tsserver.setup {
|
|
|
|
-- lspconfig.tsserver.setup {
|
|
|
|
capabilities = capabilities,
|
|
|
|
-- capabilities = capabilities,
|
|
|
|
on_attach = on_attach,
|
|
|
|
-- on_attach = on_attach,
|
|
|
|
}
|
|
|
|
-- }
|
|
|
|
|
|
|
|
|
|
|
|
lspconfig.vuels.setup {
|
|
|
|
-- lspconfig.vuels.setup {
|
|
|
|
capabilities = capabilities,
|
|
|
|
-- capabilities = capabilities,
|
|
|
|
on_attach = on_attach,
|
|
|
|
-- on_attach = on_attach,
|
|
|
|
}
|
|
|
|
-- }
|
|
|
|
|
|
|
|
|
|
|
|
lspconfig.pyright.setup {
|
|
|
|
lspconfig.pyright.setup {
|
|
|
|
capabilities = capabilities,
|
|
|
|
capabilities = capabilities,
|
|
|
|
@ -118,11 +118,11 @@ return {
|
|
|
|
on_attach = on_attach,
|
|
|
|
on_attach = on_attach,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- lspconfig.volar.setup {
|
|
|
|
lspconfig.volar.setup {
|
|
|
|
-- filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue', 'json' },
|
|
|
|
filetypes = { 'typescript', 'javascript', 'javascriptreact', 'typescriptreact', 'vue', 'json' },
|
|
|
|
-- capabilities = capabilities,
|
|
|
|
capabilities = capabilities,
|
|
|
|
-- on_attach = on_attach,
|
|
|
|
on_attach = on_attach,
|
|
|
|
-- }
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
-- Keep null_ls last so that its diagnostics and code actions come last
|
|
|
|
-- Keep null_ls last so that its diagnostics and code actions come last
|
|
|
|
null_ls.setup({ sources = sources })
|
|
|
|
null_ls.setup({ sources = sources })
|
|
|
|
|