mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 16:37:27 +00:00
9 lines
178 B
Python
9 lines
178 B
Python
from typing import Dict
|
|
|
|
|
|
def syntax_aliases(x: str) -> Dict[str, str]:
|
|
ans = {}
|
|
for x in x.split():
|
|
k, _, v = x.partition(':')
|
|
ans[k] = v
|
|
return ans
|