RRethy/nvim-treesitter-endwise
关于
在 Ruby、Vimscript、Lua 等语言中智能补全 "end"。这是 tpope 的 vim-endwise 的 Tree-sitter 感知型替代方案。
开发工具实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- 0
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文nvim-treesitter-endwise
wisely add "end" in Ruby, Lua, Vimscript, etc.
Quick Start
No configuration is required, just install the plugin and it'll work!
About
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, Julia
Additional Language Support
Please open an issue for new languages, right now I'm open PRs but I won't be implementing other languages myself (except for maybe shell script). See https://github.com/RRethy/nvim-treesitter-endwise/issues/2#issuecomment-1019574925 for more information on adding support for a new language.
Credit
This is just a rewrite of https://github.com/tpope/vim-endwise to leverage Treesitter so it can be more accurate and work without having to run Neovim's slow regex based highlighting along with nvim-treesitter highlighting.
Special thanks to
- @jasonrhansen who added support for injected languages and Vimscript.
- @simonmandlik who added support for Julia.
探索相关项目
加载中…