Apply suggestions from code review

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Hon Yi Hao 2026-04-22 16:34:35 +08:00 committed by GitHub
parent 7093013e99
commit 21ac67368f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,8 +31,9 @@ return {
opts = function(_, opts) opts = function(_, opts)
if not opts.servers.vtsls or opts.servers.vtsls.enabled == false then if not opts.servers.vtsls or opts.servers.vtsls.enabled == false then
LazyVim.warn({ LazyVim.warn({
"The `lang.vue` extras requires `vtsls` for TypeScript integration.", "The `lang.vue` extra requires `vtsls` for TypeScript integration.",
"Please enable `vtsls` so `lang.vue` works correctly.", "Enable the `lang.typescript.vtsls` extra, or set `vim.g.lazyvim_ts_lsp = \"vtsls\"`.",
"If you are using `lang.typescript.tsgo`, disable it so `vtsls` can be used for `lang.vue`.",
}, { }, {
title = "LazyVim", title = "LazyVim",
once = true, once = true,