diff --git a/lua/nvim-treesitter/parsers.lua b/lua/nvim-treesitter/parsers.lua index 064e510c1..d6b5e2090 100644 --- a/lua/nvim-treesitter/parsers.lua +++ b/lua/nvim-treesitter/parsers.lua @@ -738,6 +738,14 @@ list.hjson = { maintainers = { "@winston0410" }, } +list.llvm = { + install_info = { + url = "https://github.com/benwilliamgraham/tree-sitter-llvm", + files = { "src/parser.c" }, + }, + maintainers = { "@benwilliamgraham" }, +} + local M = { list = list, } diff --git a/queries/llvm/highlights.scm b/queries/llvm/highlights.scm new file mode 100644 index 000000000..73bdedb32 --- /dev/null +++ b/queries/llvm/highlights.scm @@ -0,0 +1,12 @@ +(type) @type +(statement) @statement +(number) @number +(comment) @comment +(string) @string +(label) @label +(keyword) @keyword +(boolean) @boolean +(float) @number +(constant) @identifier +(identifier) @constant +(punctuation) @punctuation