fix: restore terminal cursor (underline) upon exit
This commit is contained in:
		
							parent
							
								
									12d128fa68
								
							
						
					
					
						commit
						2633d5f748
					
				@ -78,3 +78,9 @@ end
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
-- vim.cmd "autocmd VimLeave * call os.execute("mkdir /tmp/nvim"), writefile([getcwd()], expand('/tmp/nvim/cwd'))"
 | 
					-- vim.cmd "autocmd VimLeave * call os.execute("mkdir /tmp/nvim"), writefile([getcwd()], expand('/tmp/nvim/cwd'))"
 | 
				
			||||||
vim.cmd [[autocmd BufWinEnter quickfix silent :lua ToggleTroubleAuto()]]
 | 
					vim.cmd [[autocmd BufWinEnter quickfix silent :lua ToggleTroubleAuto()]]
 | 
				
			||||||
 | 
					vim.cmd [[
 | 
				
			||||||
 | 
					    augroup change_cursor
 | 
				
			||||||
 | 
					        au!
 | 
				
			||||||
 | 
					        au ExitPre * :set guicursor=a:hor90
 | 
				
			||||||
 | 
					    augroup END
 | 
				
			||||||
 | 
					]]
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user