1
0
mirror of https://github.com/sharkdp/bat.git synced 2025-09-02 03:12:25 +01:00

Allow colon in syslog loghost

Makes it work with IPv6 addresses.
This commit is contained in:
Ville Skyttä
2021-08-11 21:36:43 +03:00
parent f508ddf66d
commit 2d92a4dbb3
3 changed files with 3 additions and 1 deletions

View File

@@ -16,7 +16,7 @@ contexts:
- match: ^
push: text
loghost:
- match: '[\w.-]+'
- match: '[\w:.-]+'
scope: entity.other.attribute-name.loghost.syslog
set: process
process: