Last active
December 31, 2019 19:50
-
-
Save castor4bit/6671c7d20a395de14034e9ce8b34b5fe to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- autoload/lexima/insmode.vim 2020-01-01 04:36:47.000000000 +0900 | |
| +++ autoload.fixed/lexima/insmode.vim 2020-01-01 04:37:49.000000000 +0900 | |
| @@ -81,7 +81,7 @@ | |
| " Define imap in the last of the function in order to avoid invalid mapping | |
| " definition when an error occur. | |
| if newchar_flg | |
| - if has('nvim') && a:rule.char == '<CR>' && g:lexima_nvim_accept_pum_with_enter | |
| + if a:rule.char == '<CR>' && g:lexima_nvim_accept_pum_with_enter | |
| execute printf("inoremap <expr><silent> %s pumvisible() ? \"\\<C-y>\" : lexima#expand(%s, 'i')", | |
| \ a:rule.char, | |
| \ string(lexima#string#to_mappable(a:rule.char)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment