diff --git a/lua/astrocommunity/editing-support/nvim-treesitter-endwise/README.md b/lua/astrocommunity/editing-support/nvim-treesitter-endwise/README.md new file mode 100644 index 000000000..6d4f9e686 --- /dev/null +++ b/lua/astrocommunity/editing-support/nvim-treesitter-endwise/README.md @@ -0,0 +1,8 @@ +## nvim-treesitter-endwise + +This is a simple plugin that helps to end certain structures automatically. In Ruby, this means adding end after if, do, def, etc. This even works for languages nested inside other, such as Markdown with a Lua code block! + +Supported Languages: Ruby, Lua, Vimscript, Bash, Elixir, Fish + +**Repository:** + diff --git a/lua/astrocommunity/editing-support/nvim-treesitter-endwise/init.lua b/lua/astrocommunity/editing-support/nvim-treesitter-endwise/init.lua new file mode 100644 index 000000000..cc36ebfac --- /dev/null +++ b/lua/astrocommunity/editing-support/nvim-treesitter-endwise/init.lua @@ -0,0 +1,7 @@ +return { + "nvim-treesitter/nvim-treesitter", + dependencies = { "RRethy/nvim-treesitter-endwise" }, + opts = { + endwise = { enable = true }, + }, +}