From 4bf380f6d48eb5d4920d68179d6296408eea916a Mon Sep 17 00:00:00 2001 From: qwjyh Date: Fri, 5 May 2023 10:01:37 +0900 Subject: [PATCH] add: nvim: matchup --- dotfiles/neovim/init.lua | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index b8506ea..d666a7c 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -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,