mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 01:05:48 +02:00
10 lines
178 B
Python
10 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
|