mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-18 14:34:52 +02:00
Fix default for syntax_aliases not being respected
This commit is contained in:
@@ -2,4 +2,8 @@ from typing import Dict
|
|||||||
|
|
||||||
|
|
||||||
def syntax_aliases(x: str) -> Dict[str, str]:
|
def syntax_aliases(x: str) -> Dict[str, str]:
|
||||||
return {}
|
ans = {}
|
||||||
|
for x in x.split():
|
||||||
|
k, _, v = x.partition(':')
|
||||||
|
ans[k] = v
|
||||||
|
return ans
|
||||||
|
|||||||
Reference in New Issue
Block a user