kylechui / nvim-surround

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

refactor: Code rewrite, type annotations, docs. #66

Closed kylechui closed 2 years ago

kylechui commented 2 years ago

This PR serves to "clean up" a lot of the existing code that is either overlapping in functionality or poorly handled. In addition, it introduces code annotations to better help myself (and others) navigate the codebase.