jonleighton/vim-textobj-heredoc

★ 1Forks 0Vim scriptGitHub ↗Compare

README

textobj-heredoc

This vim plugin provides text objects for heredocs. The ah text object select ‘all the heredoc’ (including delimiters) and ih selects ‘inside the heredoc’.

Currently only Elixir is supported. I mostly use this to autoformat multi-line @doc and @moduledoc module attributes via gqih.

Pull requests to support other languages are welcome.

See [:help textobj-heredoc](doc/textobj-heredoc.txt] for more details.

License

This software is released under the MIT license. See the LICENSE file.

Contributors

jonleighton

Issues