LuaSnip
LuaSnip copied to clipboard
[Bug]: Cannot use \t (tab) in snippet when expandtab is set to true
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.