add: nvim: matchup

This commit is contained in:
qwjyh 2023-05-05 10:01:37 +09:00
parent b891c7123b
commit 4bf380f6d4

View file

@ -103,6 +103,17 @@ require('lazy').setup({
"nvim-treesitter/nvim-treesitter-textobjects",
},
},
{
"andymass/vim-matchup",
config = function ()
vim.g.matchup_matchparen_offscreen = { method = "popup" }
require'nvim-treesitter.configs'.setup {
matchup = {
enable = true,
}
}
end,
},
{
'nvim-telescope/telescope.nvim',
dependencies = {
@ -289,6 +300,7 @@ parser_config.satysfi = {
-- setup
require'nvim-treesitter.configs'.setup {
ensure_installed = {
'julia',
'satysfi',
},
highlight = {
@ -306,6 +318,9 @@ require'nvim-treesitter.configs'.setup {
indent = {
enable = true,
},
matchup = {
enable = true,
},
textobjects = {
select = {
enable = true,