cmp-cmdline icon indicating copy to clipboard operation
cmp-cmdline copied to clipboard

`cabbrev` user commands are not shown

Open steliyan opened this issue 2 years ago • 0 comments

I am not sure if this is even supposed to work, but these cabbrev doesn't seem to work:

vim.cmd([[
  cabbrev <expr> SessionSave getcmdtype() == ":" && getcmdline() == "SessionSave" ? "SaveSession" : "SessionSave"
]])

Maybe the registration order matters? Should this be done before or after the cmp-cmdline is loaded?

steliyan avatar Sep 29 '22 11:09 steliyan