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