From 2653fc8a4946863324b279fa4087707d0bffecb7 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 7 Nov 2023 04:00:57 +0100 Subject: nvim: Add Hyprland config support --- .config/nvim/after/plugin/treesitter.lua | 7 +++++++ .config/nvim/lua/mango/packer.lua | 1 + 2 files changed, 8 insertions(+) (limited to '.config') 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 { -- cgit v1.2.3