mirror of
				https://github.com/neovim/neovim.git
				synced 2025-10-26 12:27:24 +00:00 
			
		
		
		
	vim-patch:9fa35b1c38b8
runtime(lua): fix lua indentation of non-lowercase "keywords" (vim/vim#11759)
9fa35b1c38
Co-authored-by: beardedsakimonkey <54521218+beardedsakimonkey@users.noreply.github.com>
			
			
This commit is contained in:
		| @@ -27,6 +27,16 @@ if exists("*GetLuaIndent") | ||||
| endif | ||||
|  | ||||
| function! GetLuaIndent() | ||||
|     let ignorecase_save = &ignorecase | ||||
|   try | ||||
|     let &ignorecase = 0 | ||||
|     return GetLuaIndentIntern() | ||||
|   finally | ||||
|     let &ignorecase = ignorecase_save | ||||
|   endtry | ||||
| endfunction | ||||
|  | ||||
| function! GetLuaIndentIntern() | ||||
|   " Find a non-blank line above the current line. | ||||
|   let prevlnum = prevnonblank(v:lnum - 1) | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Christian Clason
					Christian Clason