mirror of
https://github.com/pnx/dotfiles
synced 2026-11-04 21:26:45 +01:00
nvim/lua/user/plugins/editor/treesitter.lua: switch to tree-sitter-manager
This commit is contained in:
parent
665fb375b0
commit
e4b7184d75
19 changed files with 88 additions and 140 deletions
|
|
@ -1,3 +1,5 @@
|
|||
local spec = require('user.utils.lang_spec')
|
||||
|
||||
local lspservers = {
|
||||
vue_ls = {
|
||||
init_options = {
|
||||
|
|
@ -10,16 +12,11 @@ local lspservers = {
|
|||
|
||||
|
||||
return {
|
||||
spec.treesitter("vue"),
|
||||
-- Vue needs typescript
|
||||
{ import = "user.plugins.lang.typescript" },
|
||||
-- And most likely css/scss aswell.
|
||||
{ import = "user.plugins.lang.css" },
|
||||
{
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
opts = {
|
||||
install = { "vue" }
|
||||
}
|
||||
},
|
||||
{
|
||||
"windwp/nvim-ts-autotag",
|
||||
optional = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue