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:
parent
96439a5c9b
commit
9a46a94827
2 changed files with 7 additions and 2 deletions
|
@ -1,2 +1,7 @@
|
||||||
require('mini.comment').setup()
|
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()
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require'nvim-treesitter.configs'.setup {
|
require'nvim-treesitter.configs'.setup {
|
||||||
-- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
-- one of "all", "maintained" (parsers with maintainers), or a list of languages
|
||||||
ensure_installed = "maintained",
|
ensure_installed = "all",
|
||||||
highlight = {enable = true},
|
highlight = {enable = true},
|
||||||
incremental_selection = {enable = true},
|
incremental_selection = {enable = true},
|
||||||
textobjects = {enable = true},
|
textobjects = {enable = true},
|
||||||
|
|
Loading…
Reference in a new issue