mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-09 21:55:29 +02:00
kittens/diff: move empty pattern check to dir tree walk
This commit is contained in:
@@ -59,7 +59,7 @@ def syntax_aliases(raw: str) -> Dict[str, str]:
|
||||
|
||||
|
||||
def pattern_list(raw: str) -> List[str]:
|
||||
return [pat for pat in raw.split(' ') if pat]
|
||||
return raw.split(' ')
|
||||
|
||||
|
||||
def parse_map(val: str) -> Iterable[KittensKeyDefinition]:
|
||||
|
||||
Reference in New Issue
Block a user