Nvim: Ad hyprland config syntax parser
This commit is contained in:
parent
59752bceb1
commit
088675b46f
@ -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')
|
||||||
|
Loading…
Reference in New Issue
Block a user