mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 00:49:01 +02:00
enc: move lsp config to auto-lsp.nvim
This commit is contained in:
parent
5f766a5717
commit
c09e320633
22 changed files with 253 additions and 293 deletions
25
lua/user/lsp/settings_backup/vuels.lua
Normal file
25
lua/user/lsp/settings_backup/vuels.lua
Normal file
|
@ -0,0 +1,25 @@
|
|||
local opts = {
|
||||
setup = {
|
||||
root_dir = require("lspconfig.util").root_pattern("package.json", "vue.config.js")
|
||||
or vim.loop.cwd()
|
||||
or vim.fn.getcwd(),
|
||||
init_options = {
|
||||
config = {
|
||||
vetur = {
|
||||
completion = {
|
||||
autoImport = true,
|
||||
tagCasing = "kebab",
|
||||
useScaffoldSnippets = true,
|
||||
},
|
||||
useWorkspaceDependencies = true,
|
||||
validation = {
|
||||
script = true,
|
||||
style = true,
|
||||
template = true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
return opts
|
Loading…
Add table
Add a link
Reference in a new issue