更新vue语法高亮
This commit is contained in:
parent
0d6eeb667f
commit
0cc9512218
@ -1,8 +1,9 @@
|
||||
local G = require("G")
|
||||
require'nvim-treesitter.configs'.setup {
|
||||
-- A list of parser names, or "all" (the four listed parsers should always be installed)
|
||||
ensure_installed = { "c", "lua", "vim", "help" },
|
||||
ensure_installed = { "javascript", "typescript", "html", "css", "vue", "c", "lua", "vim", "help"},
|
||||
|
||||
indent = { enable = true },
|
||||
-- Install parsers synchronously (only applied to `ensure_installed`)
|
||||
sync_install = false,
|
||||
|
||||
@ -41,12 +42,12 @@ require'nvim-treesitter.configs'.setup {
|
||||
additional_vim_regex_highlighting = false,
|
||||
},
|
||||
parsers = {
|
||||
html = {
|
||||
install_info = {
|
||||
url = "https://github.com/ikatyang/tree-sitter-vue",
|
||||
files = {"src/parser.c"},
|
||||
branch = "main"
|
||||
}
|
||||
html = {
|
||||
install_info = {
|
||||
url = "https://github.com/ikatyang/tree-sitter-vue",
|
||||
files = {"src/parser.c"},
|
||||
branch = "main"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user