https://github.com/jvirtanen/vim-hocon
Syntax highlighting for the HOCON language
https://github.com/jvirtanen/vim-hocon
akka config hocon lightbend playframework vim
Last synced: 12 months ago
JSON representation
Syntax highlighting for the HOCON language
- Host: GitHub
- URL: https://github.com/jvirtanen/vim-hocon
- Owner: jvirtanen
- Created: 2020-09-07T20:17:06.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-01-12T20:28:56.000Z (about 4 years ago)
- Last Synced: 2023-03-16T09:45:29.418Z (almost 3 years ago)
- Topics: akka, config, hocon, lightbend, playframework, vim
- Language: Vim script
- Homepage:
- Size: 1.95 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# hocon.vim
Syntax highlighting for the HOCON language used by the [Config][] library and
many Java Virtual Machine (JVM) applications and frameworks, including [Akka][]
and [Play Framework][].
[Config]: https://github.com/lightbend/config
[Akka]: https://akka.io
[Play Framework]: https://www.playframework.com
## Installation
Install using Vim's built-in package management:
```
mkdir -p ~/.vim/pack/jvirtanen/start
cd ~/.vim/pack/jvirtanen/start
git clone https://github.com/jvirtanen/vim-hocon.git
```
To handle all files with the `.conf` extension as HOCON, add the following line
into your `.vimrc`:
```
autocmd BufNewFile,BufRead *.conf set filetype=hocon
```
## License
Copyright 2021 Jussi Virtanen.
Distributed under the same terms as Vim itself. See `:help license` for
details.