From 6d0ab7dec9306fada667ea71edbb3da2b06a40ad Mon Sep 17 00:00:00 2001 From: Gabriel Nagy Date: Tue, 6 Apr 2021 09:57:40 +0300 Subject: [PATCH] Add hocon filetype (#465) Add support for commenting hocon files. [1] https://github.com/lightbend/config/blob/main/HOCON.md#comments --- plugin/NERD_commenter.vim | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/NERD_commenter.vim b/plugin/NERD_commenter.vim index b7d3b9a..5e46feb 100644 --- a/plugin/NERD_commenter.vim +++ b/plugin/NERD_commenter.vim @@ -204,6 +204,7 @@ let s:delimiterMap = { \ 'hbs': { 'left': '{{!-- ', 'right': ' --}}' }, \ 'hercules': { 'left': '//', 'leftAlt': '/*', 'rightAlt': '*/' }, \ 'hive': { 'left': '-- ' }, + \ 'hocon': { 'left': '//', 'leftAlt': '#' }, \ 'hog': { 'left': '#' }, \ 'hostsaccess': { 'left': '#' }, \ 'htmlcheetah': { 'left': '##' },