Nvim: Ad hyprland config syntax parser

This commit is contained in:
Tobias Manske 2023-08-18 19:25:32 +02:00
parent 59752bceb1
commit 088675b46f
Signed by: tobias
GPG Key ID: 9164B527694A0709

View File

@ -52,6 +52,13 @@ require('packer').startup(function(use)
end, end,
} }
use {
"theRealCarneiro/hyprland-vim-syntax",
dependencies = { "nvim-treesitter/nvim-treesitter" },
ft = "hypr",
}
use { -- Additional text objects via treesitter use { -- Additional text objects via treesitter
'nvim-treesitter/nvim-treesitter-textobjects', 'nvim-treesitter/nvim-treesitter-textobjects',
after = 'nvim-treesitter', after = 'nvim-treesitter',
@ -403,7 +410,7 @@ helpers.nmap('<leader>/', function()
winblend = 10, winblend = 10,
previewer = false, previewer = false,
}) })
end, { desc = '[/] Fuzzily search in current buffer]' }) end, '[/] Fuzzily search in current buffer]')
helpers.nmap('<leader>sf', require('telescope.builtin').find_files, '[S]earch [F]iles') helpers.nmap('<leader>sf', require('telescope.builtin').find_files, '[S]earch [F]iles')
helpers.nmap('<leader>sh', require('telescope.builtin').help_tags, '[S]earch [H]elp') helpers.nmap('<leader>sh', require('telescope.builtin').help_tags, '[S]earch [H]elp')