-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
treesitter.lua
49 lines (49 loc) · 1013 Bytes
/
treesitter.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
return {
{
"nvim-treesitter/nvim-treesitter",
opts = {
ensure_installed = {
"comment",
"lua",
"javascript",
"jsdoc",
"typescript",
"tsx",
"fish",
"json",
"yaml",
"html",
"css",
"scss",
"vue",
"svelte",
"markdown", -- lsp, lspsaga diagnostic
"markdown_inline", -- lsp, lspsaga diagnostic
},
ignore_install = {
"haskell",
},
highlight = {
enable = true,
},
},
dependencies = {
-- https://github.com/windwp/nvim-ts-autotag
{
"windwp/nvim-ts-autotag",
opts = {
enable_close_on_slash = false, -- disable case: `<div /` become `<div /div>`
filetypes = {
"html",
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"vue",
"xml",
},
},
},
},
},
}