refactor(nvim): move treesitter stuff to its own file

This commit is contained in:
matt1432 2024-05-06 18:14:52 -04:00
parent 7691490e00
commit 3348300ab7
3 changed files with 123 additions and 100 deletions
common/home/neovim/plugins

View file

@ -1,21 +0,0 @@
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