first commit
This commit is contained in:
commit
205faf4224
5471 changed files with 973850 additions and 0 deletions
39
config/nvim/lua/neoconf/lazy/treesitter.lua
Normal file
39
config/nvim/lua/neoconf/lazy/treesitter.lua
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
return {
|
||||
{ -- Highlight, edit, and navigate code
|
||||
"nvim-treesitter/nvim-treesitter",
|
||||
build = ":TSUpdate",
|
||||
opts = {
|
||||
ensure_installed = {
|
||||
"c++",
|
||||
"matlab",
|
||||
"regex",
|
||||
"octave",
|
||||
"yaml",
|
||||
"python",
|
||||
"latex",
|
||||
"typst",
|
||||
"zsh",
|
||||
"markdown_inline",
|
||||
"typst",
|
||||
"comment",
|
||||
"bash",
|
||||
"c",
|
||||
"html",
|
||||
"lua",
|
||||
"markdown",
|
||||
"vim",
|
||||
"vimdoc",
|
||||
},
|
||||
auto_install = true,
|
||||
highlight = {
|
||||
enable = true,
|
||||
additional_vim_regex_highlighting = false,
|
||||
-- Some languages depend on vim's regex highlighting system (such as Ruby) for indent rules.
|
||||
-- If you are experiencing weird indenting issues, add the language to
|
||||
-- the list of additional_vim_regex_highlighting and disabled languages for indent.
|
||||
additional_vim_regex_highlighting = { "ruby", "markdown" },
|
||||
},
|
||||
indent = { enable = true, disable = { "ruby, markdown" } },
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue