Merge branch 'hints-linenum-expand-home' of https://github.com/trygveaa/kitty

This commit is contained in:
Kovid Goyal
2020-07-02 08:23:59 +05:30

View File

@@ -559,7 +559,7 @@ def linenum_handle_result(args: List[str], data: Dict[str, Any], target_window_i
for m, g in zip(data['match'], data['groupdicts']):
if m:
path, line = g['path'], g['line']
path = path.split(':')[-1]
path = os.path.expanduser(path.split(':')[-1])
line = int(line)
break
else: