LuaSnip icon indicating copy to clipboard operation
LuaSnip copied to clipboard

[Bug]: Cannot use \t (tab) in snippet when expandtab is set to true

Open Bekaboo opened this issue 1 year ago • 9 comments

Consider the following snippet:

s({ trig = 'test' }, t('\t'))

ideally this should insert a tab after expansion despite the value of &expandtab, however it will only insert a tab when expandtab is set to false and will insert spaces instead when expandtab is set to true.

Bekaboo avatar Jun 12 '23 06:06 Bekaboo