mirror of
https://gitee.com/zhangsken/AndroidIDE.git
synced 2026-10-16 07:49:44 +08:00
fix(editor): incorrect highlights query structure for logs
This commit is contained in:
@@ -5,8 +5,8 @@
|
||||
(time) @err.time
|
||||
(pid) @err.pid
|
||||
(tid) @err.tid
|
||||
(priority) @err.priority
|
||||
(tag) @err.tag
|
||||
(priority) @err.priority
|
||||
(message) @err.msg
|
||||
(#match? @err.priority "E")
|
||||
)
|
||||
@@ -16,8 +16,8 @@
|
||||
(time) @warn.time
|
||||
(pid) @warn.pid
|
||||
(tid) @warn.tid
|
||||
(priority) @warn.priority
|
||||
(tag) @warn.tag
|
||||
(priority) @warn.priority
|
||||
(message) @warn.msg
|
||||
(#match? @warn.priority "W")
|
||||
)
|
||||
@@ -27,8 +27,8 @@
|
||||
(time) @info.time
|
||||
(pid) @info.pid
|
||||
(tid) @info.tid
|
||||
(priority) @info.priority
|
||||
(tag) @info.tag
|
||||
(priority) @info.priority
|
||||
(message) @info.msg
|
||||
(#match? @info.priority "I")
|
||||
)
|
||||
@@ -38,10 +38,10 @@
|
||||
(time) @debug.time
|
||||
(pid) @debug.pid
|
||||
(tid) @debug.tid
|
||||
(priority) @debug.priority
|
||||
(tag) @debug.tag
|
||||
(priority) @debug.priority
|
||||
(message) @debug.msg
|
||||
(#match? @debug.priority "I")
|
||||
(#match? @debug.priority "D")
|
||||
)
|
||||
|
||||
(log_line
|
||||
@@ -49,8 +49,8 @@
|
||||
(time) @verbose.time
|
||||
(pid) @verbose.pid
|
||||
(tid) @verbose.tid
|
||||
(priority) @verbose.priority
|
||||
(tag) @verbose.tag
|
||||
(priority) @verbose.priority
|
||||
(message) @verbose.msg
|
||||
(#match? @verbose.priority "V")
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user