kylechui / nvim-surround

Add/change/delete surrounding delimiter pairs with ease. Written with :heart: in Lua.
MIT License
3.09k stars 61 forks source link

feat: Add native Tree-sitter support. #133

Closed kylechui closed 2 years ago

kylechui commented 2 years ago

Adds Tree-sitter as a third "engine" for finding "parent selections", from which patterns can be used to extract the left/right delimiter pair.