feat(neovim): add hypr grammar
This commit is contained in:
parent
acc2d647f7
commit
ced46f834d
3 changed files with 194 additions and 91 deletions
common/home/neovim/plugins
|
@ -1,8 +1,12 @@
|
|||
lua << EOF
|
||||
|
||||
local path = "/home/matt/.cache/nvim/"
|
||||
|
||||
require('nvim-treesitter.configs').setup({
|
||||
highlight = { enable = true },
|
||||
indent = { enable = true }
|
||||
indent = { enable = true },
|
||||
parser_install_dir = path,
|
||||
auto_install = true,
|
||||
})
|
||||
|
||||
require('treesitter-context').setup({
|
||||
|
@ -11,6 +15,7 @@ require('treesitter-context').setup({
|
|||
min_window_height = 20,
|
||||
})
|
||||
|
||||
vim.opt.runtimepath:append(path)
|
||||
EOF
|
||||
|
||||
" Add line under context
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue