diff --git a/init.vim b/init.vim index b3e746f..83728c5 100644 --- a/init.vim +++ b/init.vim @@ -824,6 +824,8 @@ augroup CustomCommentDefinitions if &ft == 'html' if join(syntaxGroups, ',') =~ 'ShaderScript' setlocal commentstring=\/\/\ %s + elseif join(syntaxGroups, ',') =~ 'javascript' + setlocal commentstring=\/\/\ %s elseif join(syntaxGroups, ',') =~ 'html' setlocal commentstring= endif @@ -1360,7 +1362,7 @@ lua <