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
Currently I have a setup to format and run TSToolsSortImports command when saving the buffer but the changes made by TSToolsSortImports are added in the undo list. Is it possible to prevent that?
The command gets executed with vim.cmd api:
vim.cmd'TSToolsSortImports'
I've tried with the sync argument and using undojoin but nothing worked.
Currently I have a setup to format and run
TSToolsSortImports
command when saving the buffer but the changes made byTSToolsSortImports
are added in the undo list. Is it possible to prevent that?The command gets executed with
vim.cmd
api:I've tried with the
sync
argument and usingundojoin
but nothing worked.this is the current setup I have:
The text was updated successfully, but these errors were encountered: