mirror of
https://github.com/nvim-treesitter/nvim-treesitter
synced 2024-09-16 14:34:05 +02:00
feat(sflog): add sflog (Salesforce debug log) parser and highlights
Co-authored-by: xi xiao <tdxiaoxi2@gmail.com>
This commit is contained in:
parent
c8f8dd1551
commit
9a0db40403
3 changed files with 63 additions and 3 deletions
|
@ -659,6 +659,9 @@
|
|||
"scss": {
|
||||
"revision": "c478c6868648eff49eb04a4df90d703dc45b312a"
|
||||
},
|
||||
"sflog": {
|
||||
"revision": "caffc6ebd1ab16ba4d4dec367cebb03ca2411872"
|
||||
},
|
||||
"slang": {
|
||||
"revision": "d84b43d75d65bbc4ba57166ce17555f32c0b8983"
|
||||
},
|
||||
|
|
|
@ -98,7 +98,7 @@ list.apex = {
|
|||
files = { "src/parser.c" },
|
||||
location = "apex",
|
||||
},
|
||||
maintainers = { "@aheber" },
|
||||
maintainers = { "@aheber", "@xixiaofinland" },
|
||||
}
|
||||
|
||||
list.arduino = {
|
||||
|
@ -1908,6 +1908,15 @@ list.scss = {
|
|||
maintainers = { "@elianiva" },
|
||||
}
|
||||
|
||||
list.sflog = {
|
||||
install_info = {
|
||||
url = "https://github.com/aheber/tree-sitter-sfapex",
|
||||
files = { "src/parser.c" },
|
||||
location = "sflog",
|
||||
},
|
||||
maintainers = { "@aheber", "@xixiaofinland" },
|
||||
}
|
||||
|
||||
list.slang = {
|
||||
install_info = {
|
||||
url = "https://github.com/theHamsta/tree-sitter-slang",
|
||||
|
@ -1966,7 +1975,7 @@ list.soql = {
|
|||
files = { "src/parser.c" },
|
||||
location = "soql",
|
||||
},
|
||||
maintainers = { "@aheber" },
|
||||
maintainers = { "@aheber", "@xixiaofinland" },
|
||||
}
|
||||
|
||||
list.sosl = {
|
||||
|
@ -1975,7 +1984,7 @@ list.sosl = {
|
|||
files = { "src/parser.c" },
|
||||
location = "sosl",
|
||||
},
|
||||
maintainers = { "@aheber" },
|
||||
maintainers = { "@aheber", "@xixiaofinland" },
|
||||
}
|
||||
|
||||
list.sourcepawn = {
|
||||
|
|
48
queries/sflog/highlights.scm
Normal file
48
queries/sflog/highlights.scm
Normal file
|
@ -0,0 +1,48 @@
|
|||
; highlights.scm
|
||||
[
|
||||
"|"
|
||||
"|["
|
||||
"]"
|
||||
"("
|
||||
")"
|
||||
"|("
|
||||
")|"
|
||||
] @punctuation.bracket
|
||||
|
||||
[
|
||||
","
|
||||
";"
|
||||
":"
|
||||
] @punctuation.delimiter
|
||||
|
||||
"EXTERNAL" @keyword
|
||||
|
||||
"out of" @property
|
||||
|
||||
(number) @number
|
||||
|
||||
(identifier) @variable
|
||||
|
||||
(version) @string.special
|
||||
|
||||
(anonymous_block) @string
|
||||
|
||||
(limit) @property
|
||||
|
||||
(time) @function
|
||||
|
||||
(limit
|
||||
(identifier) @string)
|
||||
|
||||
(event_detail
|
||||
(event_detail_value) @string)
|
||||
|
||||
(log_level_setting
|
||||
(component) @type)
|
||||
|
||||
(log_level_setting
|
||||
(log_level) @constant)
|
||||
|
||||
(log_entry
|
||||
(event_identifier
|
||||
(identifier) @type))
|
Loading…
Reference in a new issue