Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cabbrev user commands are not shown #69

Open
steliyan opened this issue Sep 29, 2022 · 0 comments
Open

cabbrev user commands are not shown #69

steliyan opened this issue Sep 29, 2022 · 0 comments

Comments

@steliyan
Copy link

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant