From 088675b46f2fe5ebbac1a1d6274fdb35ac8cec3d Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Fri, 18 Aug 2023 19:25:32 +0200 Subject: [PATCH] Nvim: Ad hyprland config syntax parser --- nvim/init.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/nvim/init.lua b/nvim/init.lua index 3de0213..ea4d917 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -52,6 +52,13 @@ require('packer').startup(function(use) end, } + use { + "theRealCarneiro/hyprland-vim-syntax", + dependencies = { "nvim-treesitter/nvim-treesitter" }, + ft = "hypr", + } + + use { -- Additional text objects via treesitter 'nvim-treesitter/nvim-treesitter-textobjects', after = 'nvim-treesitter', @@ -403,7 +410,7 @@ helpers.nmap('/', function() winblend = 10, previewer = false, }) -end, { desc = '[/] Fuzzily search in current buffer]' }) +end, '[/] Fuzzily search in current buffer]') helpers.nmap('sf', require('telescope.builtin').find_files, '[S]earch [F]iles') helpers.nmap('sh', require('telescope.builtin').help_tags, '[S]earch [H]elp')