-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
Langmap breaks <Plug> Mappings #5147
Comments
/cc @blueyed Daniel, this seems to be the root bug behind why the |
I think this is essentially the same as #3018 The fix would need a bigger refactoring, thus I haven't tried it yet. |
@chrisbra The symptom seems very different (since there are only ASCII letters involved here), but the underlying cause might of course be the same. |
There seems to be a fix for this in neovim/neovim#7919 and Bram has been pinged in that PR. |
There seems to be a fix for this in
neovim/neovim#7919 and Bram has been pinged in
that PR.
There have been some problems around 'langmap', it requires more
investigation. You can find other issues for 'langmap', not sure if
they are different or related.
Perhaps someone can make a PR and then we can try out the reported
problems and see what is fixed and what not. And check it doesn't
create new problems or changes behavior.
…--
A law to reduce crime states: "It is mandatory for a motorist with criminal
intentions to stop at the city limits and telephone the chief of police as he
is entering the town.
[real standing law in Washington, United States of America]
/// Bram Moolenaar -- ***@***.*** -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|
This surfaced while investigating SirVer/ultisnips#1114.
Describe the bug
Using this minimal vimrc:
And opening vim, hitting
<tab>
in insert mode:gives the expected error:
Unknown function: Foobla
. Commenting in thelangmap
line however changes the output: The literal string<Plug>(Blub)
is inserted into the buffer.Expected behavior
The
langnoremap
option does not change the behavior inside Vim, i.e. I'd still expect theUnknown function
error in all cases for langmap. I am unsure about the job oflangnoremap
, but it does not affect this particular case.Screenshots
Here is a screencap: https://asciinema.org/a/5UVsrorS8xsGbXmqRyprLVX2I, of course the pressing of
<tab>
is invisible here.Environment (please complete the following information):
Output of
vim --version
:The text was updated successfully, but these errors were encountered: