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

22 lines
380 B
VimL
Raw Normal View History

lua << EOF
require('nvim-treesitter.configs').setup({
highlight = { enable = true },
2023-11-24 20:59:07 -05:00
indent = { enable = true },
})
require('treesitter-context').setup({
enable = true,
max_lines = 3,
min_window_height = 20,
})
vim.filetype.add({
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
})
EOF
" Add line under context
hi TreesitterContextBottom gui=underline guisp=Grey