feat(hledger-ui): added neovim as a supported editor
when neovim is set as EDITOR hleger will jump to the correct line number of the transaction; before hledger will open journal at top of the file
This commit is contained in:
		
							parent
							
								
									65f2dd6013
								
							
						
					
					
						commit
						5808e289e6
					
				| @ -83,7 +83,7 @@ identifyEditor :: String -> EditorType | ||||
| identifyEditor cmd | ||||
|   | "emacsclient" `isPrefixOf` exe = EmacsClient | ||||
|   | "emacs" `isPrefixOf` exe       = Emacs | ||||
|   | exe `elem` ["vi","vim","ex","view","gvim","gview","evim","eview","rvim","rview","rgvim","rgview"] | ||||
|   | exe `elem` ["vi","nvim","vim","ex","view","gvim","gview","evim","eview","rvim","rview","rgvim","rgview"] | ||||
|                                    = Vi | ||||
|   | otherwise                      = Other | ||||
|   where | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user