mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-22 12:31:07 +00:00
Merge a888f36c5e into 459a4c3b10
This commit is contained in:
commit
89af9ade62
1 changed files with 12 additions and 0 deletions
|
|
@ -29,6 +29,18 @@ return {
|
|||
{
|
||||
"neovim/nvim-lspconfig",
|
||||
opts = function(_, opts)
|
||||
if not opts.servers.vtsls or opts.servers.vtsls.enabled == false then
|
||||
LazyVim.warn({
|
||||
"The `lang.vue` extra requires `vtsls` for TypeScript integration.",
|
||||
'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",
|
||||
once = true,
|
||||
})
|
||||
return
|
||||
end
|
||||
|
||||
table.insert(opts.servers.vtsls.filetypes, "vue")
|
||||
LazyVim.extend(opts.servers.vtsls, "settings.vtsls.tsserver.globalPlugins", {
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue