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
Commenting is always using HTML <!-- -->, but I would like it to use {# #} syntax, how can I do it?
I tried to setup like this but it didn't work either:
{ -- "gc" to comment visual regions/lines
'numToStr/Comment.nvim',
config = function()
require('Comment').setup {}
local ft = require 'Comment.ft'
-- Set only line comment or both
ft.set('twig', '{#%s#}').set('html.twig', '{#%s#}').set('twig.html', '{#%s#}')
end,
},
Thanks.
The text was updated successfully, but these errors were encountered:
Hello, I noticed than when inside a twig file:
Commenting is always using HTML
<!-- -->
, but I would like it to use{# #}
syntax, how can I do it?I tried to setup like this but it didn't work either:
Thanks.
The text was updated successfully, but these errors were encountered: