Bring the kovidgoyal/kitty codebase in as the base of FWS-Kitty, vendored at upstream commit 91fb38a without its git history.
7 lines
152 B
Python
7 lines
152 B
Python
def syntax_aliases(x: str) -> dict[str, str]:
|
|
ans = {}
|
|
for x in x.split():
|
|
k, _, v = x.partition(':')
|
|
ans[k] = v
|
|
return ans
|