1
0
Fork 0

nvim: remove matchup

This commit is contained in:
Daniel Kempkens 2024-09-04 12:27:54 +02:00
parent 055de09c74
commit 2ea1c0810b
Signed by: daniel
SSH key fingerprint: SHA256:Ks/MyhQYcPRQiwMKLAKquWCdCPe3JXlb1WttgnAoSeM
4 changed files with 0 additions and 49 deletions

View file

@ -1,36 +0,0 @@
; Function definition
(call target: ((identifier) @open.def (#any-of? @open.def "def" "defp"))
(do_block
[(rescue_block "rescue" @mid.def.1)
(catch_block "catch" @mid.def.2)]?
"end" @close.def)) @scope.def
; case/cond clause
(call target: ((identifier) @open.case (#any-of? @open.case "case" "cond"))
(do_block
"end" @close.case)) @scope.case
; if/with clause
(call target: ((identifier) @open.if (#any-of? @open.if "if" "with"))
(do_block
(else_block "else" @mid.else.1)?
"end" @close.if)) @scope.if
; try clause
(call target: ((identifier) @open.try (#eq? @open.try "try"))
(do_block
[(rescue_block "rescue" @mid.try.1)
(catch_block "catch" @mid.try.2)
(after_block "after" @mid.try.3)]?
"end" @close.try)) @scope.try
; receive clause
(call target: ((identifier) @open.receive (#eq? @open.receive "receive"))
(do_block
(after_block "after" @mid.receive.1)?
"end" @close.receive)) @scope.receive
; for comprehension
(call target: ((identifier) @open.for (#eq? @open.for "for"))
(do_block
"end" @close.for)) @scope.for

View file

@ -1,6 +0,0 @@
(let [matchup (require :match-up)]
(matchup.setup {:matchparen {:deferred true
:offscreen {:method :popup :fullwidth true}
:start_sign ""
:end_sign ""}}))

View file

@ -218,12 +218,6 @@ in
type = "fennel"; type = "fennel";
} }
{
plugin = vim-matchup;
config = builtins.readFile ../../config/nvim/plugins/matchup.fnl;
type = "fennel";
}
# Textobjects # Textobjects
nvim-treesitter-textobjects nvim-treesitter-textobjects

View file

@ -44,7 +44,6 @@
- src: stevearc/conform.nvim - src: stevearc/conform.nvim
# Pairs # Pairs
- src: windwp/nvim-autopairs - src: windwp/nvim-autopairs
- src: andymass/vim-matchup
# Textobjects # Textobjects
- src: nvim-treesitter/nvim-treesitter-textobjects - src: nvim-treesitter/nvim-treesitter-textobjects
- src: kylechui/nvim-surround - src: kylechui/nvim-surround