NestedText plugin for Vim
vim-nestedtext
is a vim plugin that provides syntax highlighting and a handful
of sensible settings for the NestedText 3.0 file
format.
Installation
This plugin is compatible with both vim and neovim, and can be installed using any of the plugin management systems out there:
pathogen
Clone this repository into your .vim/bundle
directory:
cd ~/.vim/bundle
git clone git://github.com/kalekundert/vim-nestedtext.git
vim-plug
Put the following line(s) in the call plug#begin()
section of your .vimrc
file:
Plug 'kalekundert/vim-nestedtext'
Plug 'Konfekt/FastFold'
Vim8 native plugins
Clone the repository into .vim/pack/*/start
:
mkdir -p ~/.vim/pack/git-plugins/start
cd ~/.vim/pack/git-plugins/start
git clone git://github.com/kalekundert/vim-nestedtext.git
Note that you can name the directories in .vim/pack/
whatever you like, so
the git-plugins
name in the snippet above is just an example.
Features
- Syntax highlighting
- Show trailing whitespace
- Indent-based folding: enable with
let g:nestedtext_folding = 1
in your vimrc
Feedback
Please feel free to create an issue or a pull request if you have any trouble with this plugin.