Add vue lsp

This commit is contained in:
Marcus Ho 2025-03-05 14:41:25 +08:00 committed by Marcus
parent 996c0683bf
commit aa5e5fd70d
1 changed files with 16 additions and 3 deletions

View File

@ -703,18 +703,31 @@ require('lazy').setup({
-- pyright = {},
-- rust_analyzer = {},
-- ... etc. See `:help lspconfig-all` for a list of all the pre-configured LSPs
--
-- Some languages (like typescript) have entire language plugins that can be useful:
-- https://github.com/pmizio/typescript-tools.nvim
--
-- But for many setups, the LSP (`ts_ls`) will work just fine
-- ts_ls = {},
--
ts_ls = {
filetypes = {
'javascript',
'typescript',
'javascriptreact',
'typescriptreact',
},
},
prettierd = {},
eslint_d = {},
volar = {
init_options = {
vue = {
hybridMode = false,
},
},
},
lua_ls = {
-- cmd = { ... },