mirror of
				https://github.com/vim/vim.git
				synced 2025-10-31 09:57:14 -04:00 
			
		
		
		
	patch 8.2.2728: special key names don't work if 'isident' is cleared
Problem:    Special key names don't work if 'isident' is cleared.
Solution:   Add vim_isNormalIDc() and use it for special key names.
            (closes #2389)
			
			
This commit is contained in:
		| @@ -445,9 +445,12 @@ func Test_list_mappings() | ||||
|   " Remove default mappings | ||||
|   imapclear | ||||
|  | ||||
|   inoremap <C-M> CtrlM | ||||
|   " reset 'isident' to check it isn't used | ||||
|   set isident= | ||||
|   inoremap <C-m> CtrlM | ||||
|   inoremap <A-S> AltS | ||||
|   inoremap <S-/> ShiftSlash | ||||
|   set isident& | ||||
|   call assert_equal([ | ||||
| 	\ 'i  <S-/>       * ShiftSlash', | ||||
| 	\ 'i  <M-S>       * AltS', | ||||
|   | ||||
		Reference in New Issue
	
	Block a user