vim-better-comments
vim-better-comments copied to clipboard
Create Language Aliases
In such cases, you can overcome the mismatch providing a dictionary of aliases:
let g:bettercomments_language_aliases = { 'javascript': 'js' }
I am new to vim and trying to figure out how to add this or where I need to add it. Could you elaborate a bit more on what I need to do to get this working?
Thanks!
Here is what I am trying to do:
let g:bettercomments_language_aliases = {
'javascript': 'js',
'*.js.liquid': 'js',
'*.scss.liquid': 'css',
'*.css.liquid': 'css',
'*.liquid': 'html'
" }
Do I need to do it all in one line?