nvim-treesitter-endwise: Wisely add "end" in Ruby, Vimscript, Lua, etc. Tree-sitter aware alternative to tpope's vim-endwise
github.com/RRethy/nvim-treesitter-endwisePosted Feb 5, 2022, 6:58 PM UTC
Posted Feb 5, 2022, 6:58 PM UTC
Omg thank you. I had been using a ruby block snippet, but it would be much nicer to have it also inserted.
Will definitely try this out! Currently using this: https://github.com/windwp/nvim-autopairs/wiki/Endwise but as the author mentions in the wiki, it's not very stable.
This is awesome. Just started using the plugin and it works great!
Is there anything like this for shell scripting (automatically add fi, esac, done, etc)?
Does it work well with nvim-autopairs?
I’ve been using the combination for about a week now and haven’t noticed any issues.
I am having a hard time making this plugin working. TSModuleInfo shows endwise is loaded and active for the current filetype (lua), but it is not inserting end automatically for me. What am I doing wrong or how can I troubleshoot?
Same problem here.
good job