[Question]: How to enable vitepress support with LSP alone. #4655
-
It seems in #4321, the only way to enable vitepress is through config vscode extension, e.g. option So my question is currently is there a way to enable with LSP alone if I config vue LSP to attach to markdown files? Tried the steps in the PR description without vscode step as I am not using it, but does not work. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Setting
If you only use LSP (without hybrid mode), step 1 is not required. |
Beta Was this translation helpful? Give feedback.
Setting
vue.server.includeLanguages
in VSCode has two purposes:language-tools/extensions/vscode/src/nodeClientMain.ts
Line 154 in 923f835
LanguageClientOptions.documentSelector
of LanguageClient:language-tools/extensions/vscode/src/common.ts
Lines 217 to 222 in 923f835
If you only use LSP (without hybrid mode), step 1 is not required.