mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-08-04 14:46:03 +00:00
Fix default for syntax_aliases not being respected
This commit is contained in:
parent
dfa41f01fd
commit
bca67cde6f
1 changed files with 5 additions and 1 deletions
|
|
@ -2,4 +2,8 @@ from typing import Dict
|
|||
|
||||
|
||||
def syntax_aliases(x: str) -> Dict[str, str]:
|
||||
return {}
|
||||
ans = {}
|
||||
for x in x.split():
|
||||
k, _, v = x.partition(':')
|
||||
ans[k] = v
|
||||
return ans
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue