summaryrefslogtreecommitdiff
path: root/.config/nvim
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim')
-rw-r--r--.config/nvim/after/plugin/treesitter.lua7
-rw-r--r--.config/nvim/lua/mango/packer.lua1
2 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/after/plugin/treesitter.lua b/.config/nvim/after/plugin/treesitter.lua
index 49c21f2..82d4f0d 100644
--- a/.config/nvim/after/plugin/treesitter.lua
+++ b/.config/nvim/after/plugin/treesitter.lua
@@ -6,6 +6,13 @@ config.gsp = {
},
filetype = 'gsp',
}
+config.hypr = {
+ install_info = {
+ url = 'https://github.com/luckasRanarison/tree-sitter-hypr',
+ files = {'src/parser.c'},
+ },
+ filetype = 'hypr',
+}
require('nvim-treesitter.configs').setup {
ensure_installed = {
diff --git a/.config/nvim/lua/mango/packer.lua b/.config/nvim/lua/mango/packer.lua
index 77fd677..83e0ff3 100644
--- a/.config/nvim/lua/mango/packer.lua
+++ b/.config/nvim/lua/mango/packer.lua
@@ -33,6 +33,7 @@ return require('packer').startup(function(use)
-- Additional language support
use 'Glench/Vim-Jinja2-Syntax'
+ use 'luckasRanarison/tree-sitter-hypr'
-- LSP support
use {