nixos-configs/common/home/neovim/plugins/treesitter.vim
matt1432 45a4ae76a0
All checks were successful
Discord / discord commits (push) Has been skipped
fix(nvim): recognize more files as hyprconf
2024-02-19 15:44:41 -05:00

21 lines
380 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,
})
vim.filetype.add({
pattern = { [".*/hypr/.*%.conf"] = "hyprlang" },
})
EOF
" Add line under context
hi TreesitterContextBottom gui=underline guisp=Grey