nixos-configs/common/home/neovim/plugins/treesitter.vim

17 lines
305 B
VimL

lua << EOF
require('nvim-treesitter.configs').setup({
highlight = { enable = true },
indent = { enable = true }
})
require('treesitter-context').setup({
enable = true,
max_lines = 3,
min_window_height = 20,
})
EOF
" Add line under context
hi TreesitterContextBottom gui=underline guisp=Grey