mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-24 02:50:03 +08:00
.. | ||
autoload | ||
ftdetect | ||
ftplugin | ||
syntax | ||
test | ||
LICENSE | ||
README.md |
vim-toml
Vim syntax for TOML.
Installation
Vim packages (recommended; Vim 8+ only)
Clone or submodule this repo into your Vim packages location. Example:
mkdir -p ~/.vim/pack/plugins/start
cd ~/.vim/pack/plugins/start
git clone https://github.com/cespare/vim-toml.git
Pathogen
Set up Pathogen then clone/submodule
this repo into ~/.vim/bundle/toml
, or wherever you've pointed your Pathogen.
Vundle
Set up Vundle then add Plugin 'cespare/vim-toml'
to your vimrc and run :PluginInstall
from a fresh vim.
vim-plug
Set up vim-plug. In your .vimrc, between
the lines for call plug#begin()
and call plug#end()
, add the line Plug 'cespare/vim-toml', { 'branch': 'main' }
. Reload your .vimrc and then run :PlugInstall
.
Janus
Set up Janus and then clone/submodule this
repo into ~/.janus
and restart vim.
Contributing
Contributions are very welcome! Just open a PR.