You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Vim's fold-markers and external plugins such as vim-commentary use commentstring (see :h commentstring) to determine how to comment out a block of text for the current filetype. This is set for html, but not for gohtmltmpl.
The actual behavior is that vim inserts C-style comments in gohtmltmpl files.
/* <div class="collapsed linky block"> */
Expected behavior
<!-- <div class="collapsed linky block"> -->
Steps to reproduce:
Enable tpope/vim-commentary.
Open gohtmltmpl file.
Press gcc.
Alternatively, create a fold-marker. I am not familiar with them.
Actual behavior
Vim's fold-markers and external plugins such as vim-commentary use commentstring (see
:h commentstring
) to determine how to comment out a block of text for the current filetype. This is set for html, but not for gohtmltmpl.The actual behavior is that vim inserts C-style comments in gohtmltmpl files.
Expected behavior
Steps to reproduce:
tpope/vim-commentary
.gcc
.Alternatively, create a fold-marker. I am not familiar with them.
Solution
Include this line in vim-go:
The text was updated successfully, but these errors were encountered: