mirror of
https://github.com/l0ng-ai/openidea.git
synced 2026-11-06 16:08:05 +00:00
24 lines
821 B
TOML
24 lines
821 B
TOML
id = "vue"
|
|
name = "Vue"
|
|
extensions = ["vue"]
|
|
block-comment = ["<!--", "-->"]
|
|
indent = { tab-size = 2, insert-spaces = true }
|
|
ui-mode = "Vue"
|
|
|
|
[[language-servers]]
|
|
name = "vue-language-server"
|
|
command = "vue-language-server"
|
|
args = ["--stdio"]
|
|
root-markers = ["package.json", "vite.config.ts", "vite.config.js", "nuxt.config.ts", "tsconfig.json"]
|
|
install-hint = "npm i -g @vue/language-server typescript@6"
|
|
|
|
# Hybrid mode: TypeScript in `.vue` files comes from tsserver with
|
|
# `@vue/typescript-plugin` (configured by the settings hook); vue-language-server
|
|
# reaches it through `tsserver/request`, which the client forwards to vtsls.
|
|
[[language-servers]]
|
|
name = "vtsls"
|
|
command = "vtsls"
|
|
args = ["--stdio"]
|
|
root-markers = ["tsconfig.json", "jsconfig.json", "package.json"]
|
|
install-hint = "npm i -g @vtsls/language-server"
|