Skip to content
프로젝트

RRethy/nvim-treesitter-endwise

GitHub에서 보기

소개

Ruby, Vimscript, Lua 등에서 "end"를 알맞게 추가합니다. tpope의 vim-endwise를 대체하는 Tree-sitter 인식 플러그인입니다.

개발 도구

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

nvim-treesitter-endwise

wisely add "end" in Ruby, Lua, Vimscript, etc.

https://user-images.githubusercontent.com/21000943/150613732-442589e2-6b08-4b14-b0a3-47effef0eb28.mov

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

관련 프로젝트 살펴보기

불러오는 중…