Skip to content

Commit

Permalink
feat(editing-support): add treesitter endwise (#466)
Browse files Browse the repository at this point in the history
* add treesitter endwise

* Update lua/astrocommunity/editing-support/nvim-treesitter-endwise/init.lua

---------

Co-authored-by: Micah Halter <[email protected]>
  • Loading branch information
sigu and mehalter authored Jul 21, 2023
1 parent ca6991a commit 95a580d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -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:** <https://github.com/RRethy/nvim-treesitter-endwise>

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
return {
"nvim-treesitter/nvim-treesitter",
dependencies = { "RRethy/nvim-treesitter-endwise" },
opts = {
endwise = { enable = true },
},
}

0 comments on commit 95a580d

Please sign in to comment.