nvim-lua/wishlist

parenthesis and other token matching plugin that supports treesitter written in Lua

Open

#48 建立於 2023年2月28日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人) (0 fork)github user discovery
help wantedidea

倉庫指標

Star
 (249 star)
PR 合併指標
 (PR 指標待抓取)

描述

What? Press % to jump between matching parens, if ... else ... end blocks, function() ... end blocks, highlight those keywords, etc. Basicially github.com/andymass/vim-matchup

Why? As the Neovim's default plugins matchit and matchparens are not going to support treesitter anytime soon (not a fact but a speculation), a lua version of something that does this would be nice

Potential existing implementations: github.com/andymass/vim-matchup

Potential pitfalls: afaik, treesitter integration to Neovim is dependent to nvim-treesitter and its plugins, so any plugin that works on nvim-treesitter would be prone to bugs and errors in those plugins.

貢獻者指南