Replies: 1 comment
-
I think you can add an autocmd on |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to only use the configured comment strings for a certain filetype and not use whatever Treesitter thinks the current context is?
For example, in a Twig file I would like to only use twig style
{# %s #}
comments and never use HTML style<!-- %s -->
comments. Most of the time the context based comments work great but in my Twig files I would like to be able to set it to only use Twig style comments. Is this possible?Hopefully that makes sense, might be confusing some of the terminology. Thanks for any help!
Beta Was this translation helpful? Give feedback.
All reactions