21 lines
380 B
VimL
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
|