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
commit 67baefb52a
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

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: