diff --git a/lazy-lock.json b/lazy-lock.json index de4d1a5..e9bed27 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -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" } -} \ No newline at end of file +} diff --git a/queries/logstash/highlights.scm b/queries/logstash/highlights.scm deleted file mode 120000 index 586cf03..0000000 --- a/queries/logstash/highlights.scm +++ /dev/null @@ -1 +0,0 @@ -/Users/pbaxter/.local/sources/tree-sitter-logstash/queries/highlights.scm \ No newline at end of file diff --git a/queries/logstash/highlights.scm b/queries/logstash/highlights.scm new file mode 100644 index 0000000..044bd5c --- /dev/null +++ b/queries/logstash/highlights.scm @@ -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