https://github.com/cespare/vim-toml
Vim syntax for TOML
https://github.com/cespare/vim-toml
Last synced: 2 months ago
JSON representation
Vim syntax for TOML
- Host: GitHub
- URL: https://github.com/cespare/vim-toml
- Owner: cespare
- License: mit
- Created: 2013-02-26T23:24:18.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2025-03-05T16:36:31.000Z (4 months ago)
- Last Synced: 2025-04-04T06:26:47.853Z (3 months ago)
- Language: Vim Script
- Homepage:
- Size: 36.1 KB
- Stars: 624
- Watchers: 13
- Forks: 41
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vim-toml
Vim syntax for [TOML](https://github.com/toml-lang/toml). As of Neovim 0.6 and
Vim 8.2.3519, these runtime files are included in the main (Neo)Vim
distribution.## Installation
### Vim packages (recommended; Vim 8+ only)
Clone or submodule this repo into your Vim packages location. Example:
```
git clone https://github.com/cespare/vim-toml.git ~/.vim/pack/plugins/start/vim-toml
```### Pathogen
Set up [Pathogen](https://github.com/tpope/vim-pathogen) then clone/submodule
this repo into `~/.vim/bundle/toml`, or wherever you've pointed your Pathogen.### Vundle
Set up [Vundle](https://github.com/VundleVim/Vundle.vim) then add `Plugin
'cespare/vim-toml'` to your vimrc and run `:PluginInstall` from a fresh vim.### vim-plug
Set up [vim-plug](https://github.com/junegunn/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](https://github.com/carlhuda/janus) and then clone/submodule this
repo into `~/.janus` and restart vim.## Contributing
Contributions are very welcome! Just open a PR.