terrortylor / nvim-comment

A comment toggler for Neovim, written in Lua
MIT License
479 stars 23 forks source link

Handlebars support #7

Closed ziulev closed 3 years ago

ziulev commented 3 years ago

https://handlebarsjs.com/

I could do autocmd FileType html.handlebars setlocal commentstring={{!--\ %s\ --}} for kommentary plugin Is there a way to configure nvim-comment for handlebars?

terrortylor commented 3 years ago

Hi @ziulev the commentstring option is also used by nvim-comment, the same autocommand should work for nvim-comment. If it's not, can you check the output of commentstring option when in a handle bars file: set commentstring?

If it's not as desired check that the buffers filetype is also as expected: set filetype?

terrortylor commented 3 years ago

Hey gonna close as not heard back, reopen if you are still having issues though