mirror of
https://github.com/EnumeratedDev/typer.git
synced 2026-09-16 05:36:10 +00:00
Add logs buffer
This commit is contained in:
@@ -27,3 +27,7 @@ colors:
|
||||
syntax_constant: "purple"
|
||||
syntax_variable: "yellow"
|
||||
syntax_string: "purple"
|
||||
# Typer logs highlighting
|
||||
syntax_info: "lightgreen"
|
||||
syntax_warning: "gold"
|
||||
syntax_error: "red"
|
||||
|
||||
@@ -19,3 +19,7 @@ colors:
|
||||
message_bar_fg: "black" # Message bar text color
|
||||
input_bar_bg: "white" # Input bar background color
|
||||
input_bar_fg: "black" # Input bar text color
|
||||
# Typer logs highlighting
|
||||
syntax_info: "green"
|
||||
syntax_warning: "yellow"
|
||||
syntax_error: "red"
|
||||
|
||||
@@ -28,3 +28,7 @@ colors:
|
||||
syntax_constant: "teal"
|
||||
syntax_variable: "purple"
|
||||
syntax_string: "blue"
|
||||
# Typer logs highlighting
|
||||
syntax_info: "green"
|
||||
syntax_warning: "yellow"
|
||||
syntax_error: "red"
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
filetype: typer_logs
|
||||
|
||||
rules:
|
||||
- type: info
|
||||
regex: '^\[INFO\].*$'
|
||||
multiline: true
|
||||
- type: warning
|
||||
regex: '^\[WARNING\].*$'
|
||||
multiline: true
|
||||
- type: error
|
||||
regex: '^\[ERROR\].*$'
|
||||
multiline: true
|
||||
Reference in New Issue
Block a user