mirror of
https://github.com/LunarVim/LunarVim.git
synced 2025-08-27 12:45:53 +02:00
more language reformat (#949)
This commit is contained in:
parent
2a7b3d4892
commit
e6de44e444
8 changed files with 116 additions and 89 deletions
|
@ -1,10 +1,5 @@
|
|||
if require("lv-utils").check_lsp_client_active "vuels" then
|
||||
return
|
||||
end
|
||||
require("lamg.vue").format()
|
||||
require("lamg.vue").lint()
|
||||
require("lamg.vue").lsp()
|
||||
require("lamg.vue").dap()
|
||||
|
||||
-- Vue language server configuration (vetur)
|
||||
require("lspconfig").vuels.setup {
|
||||
cmd = { DATA_PATH .. "/lspinstall/vue/node_modules/.bin/vls", "--stdio" },
|
||||
on_attach = require("lsp").common_on_attach,
|
||||
root_dir = require("lspconfig").util.root_pattern(".git", "vue.config.js", "package.json", "yarn.lock"),
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue