Skip to content

Syntax highlighting for the HOCON language

Notifications You must be signed in to change notification settings

jvirtanen/vim-hocon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

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.

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.