summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2023-11-07 04:00:57 +0100
committerThomas Voss <mail@thomasvoss.com> 2023-11-07 04:00:57 +0100
commit2653fc8a4946863324b279fa4087707d0bffecb7 (patch)
treed2b60aa0071fe25a901d3ed1bae8cd70f089190d /.config
parent6a27442275e13f1e68a566abe59aef82287eaa7c (diff)
nvim: Add Hyprland config support
Diffstat (limited to '.config')
-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 {