This commit is contained in:
Preston Baxter 2024-12-17 10:38:00 -06:00
parent d1a6aa7a0d
commit 0e3fe65ba6
2 changed files with 61 additions and 3 deletions

View File

@ -10,7 +10,7 @@
"copilot.vim": { "branch": "release", "commit": "0668308e68b0ac28b332b204b469fbe04601536a" },
"friendly-snippets": { "branch": "main", "commit": "682157939e57bd6a2c86277dfd4d6fbfce63dbac" },
"git-blame.nvim": { "branch": "master", "commit": "408d5487d908dfe5d48e5645d8b27ddcc16b11e0" },
"lazy.nvim": { "branch": "main", "commit": "a1fffe18f9355030fbb483156c762f50f5e0db73" },
"lazy.nvim": { "branch": "main", "commit": "077102c5bfc578693f12377846d427f49bc50076" },
"lazygit.nvim": { "branch": "main", "commit": "ad3e1ea592f9d13e86e0d4e850224d9d78069508" },
"lsp-zero.nvim": { "branch": "v1.x", "commit": "aa36afcf7a59fbd98008c9a434593c423d3d649a" },
"lsp_signature.nvim": { "branch": "master", "commit": "a38da0a61c172bb59e34befc12efe48359884793" },
@ -36,4 +36,4 @@
"telescope.nvim": { "branch": "master", "commit": "b79cd6c88b3d96b0f49cb7d240807cd59b610cd8" },
"tree-sitter-templ": { "branch": "master", "commit": "a4f14aa248b84df73cc1c00bf06edac8d7c96acd" },
"trouble.nvim": { "branch": "main", "commit": "88c3be40c061ce053ab326ce4fdcb973a1f785ff" }
}
}

View File

@ -1 +0,0 @@
/Users/pbaxter/.local/sources/tree-sitter-logstash/queries/highlights.scm

View File

@ -0,0 +1,59 @@
; Keywords
[
"input"
"output"
"filter"
] @keyword
[
"if"
"else"
"elseif"
] @keyword.conditional
[
(plugin_name)
] @function
; Literals
[
(string)
(bareword)
] @string
(regexp) @string.special.regex
[
(number)
] @number
[
(true)
(false)
] @boolean
(comment) @comment
; Operators
[
(compare_operator)
] @operator
[
","
"."
] @punctuation.delimiter
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket
(selector_element) @variable.parameter