Skip to content

Commit e4d2f33

Browse files
committed
[neovim] Enable Volar support in lspconfig
1 parent b533689 commit e4d2f33

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

neovim/.config/nvim/init.lua

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -425,6 +425,11 @@ require('packer').startup(function(use)
425425
capabilities = capabilities,
426426
on_attach = on_attach_with_format_on_save,
427427
}
428+
429+
lspconfig.volar.setup {
430+
capabilities = capabilities,
431+
on_attach = on_attach_with_format_on_save,
432+
}
428433
end
429434
}
430435

0 commit comments

Comments
 (0)