nvim: Change blankline, Update treesitter settings

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.
This commit is contained in:
Marty Oehme 2022-04-30 20:53:00 +02:00
parent 96439a5c9b
commit 9a46a94827
Signed by: Marty
GPG key ID: B7538B8F50A1C800
2 changed files with 7 additions and 2 deletions

View file

@ -1,2 +1,7 @@
require('mini.comment').setup()
require('mini.indentscope').setup({symbol = ""})
require('mini.indentscope').setup({
symbol = "",
draw = {animation = require('mini.indentscope').gen_animation('none')},
options = {indent_at_cursor = false}
})
require('mini.trailspace').setup()

View file

@ -1,6 +1,6 @@
require'nvim-treesitter.configs'.setup {
-- one of "all", "maintained" (parsers with maintainers), or a list of languages
ensure_installed = "maintained",
ensure_installed = "all",
highlight = {enable = true},
incremental_selection = {enable = true},
textobjects = {enable = true},