Updated treesitter setting to remove use of deprecated 'maintained' option and simply replaced it to use 'all' treesitter syntaxes (haven't had a problem with it so far). Changed blankline options slightly to remove annoying animations and quick switching of which blankline it shows depending on where my cursor is -- both proved to be too much of a distraction when I just need to interact with the indentation context every now and again and it should just allow me a quick glance at the indentation level the rest of the time.
14 lines
500 B
Lua
14 lines
500 B
Lua
require'nvim-treesitter.configs'.setup {
|
|
-- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
|
ensure_installed = "all",
|
|
highlight = {enable = true},
|
|
incremental_selection = {enable = true},
|
|
textobjects = {enable = true},
|
|
indent = {enable = true},
|
|
|
|
-- enable rainbow brackets, needs p00f/nvim-ts-rainbow
|
|
rainbow = {enable = true},
|
|
|
|
-- for improved commentstrings, needs corresponding plugin
|
|
context_commentstring = {enable = true}
|
|
}
|