mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-19 03:40:04 -04:00
LLVM parser/highlighter added
This commit is contained in:
parent
70b1997cd7
commit
6188437150
2 changed files with 20 additions and 0 deletions
|
|
@ -738,6 +738,14 @@ list.hjson = {
|
||||||
maintainers = { "@winston0410" },
|
maintainers = { "@winston0410" },
|
||||||
}
|
}
|
||||||
|
|
||||||
|
list.llvm = {
|
||||||
|
install_info = {
|
||||||
|
url = "https://github.com/benwilliamgraham/tree-sitter-llvm",
|
||||||
|
files = { "src/parser.c" },
|
||||||
|
},
|
||||||
|
maintainers = { "@benwilliamgraham" },
|
||||||
|
}
|
||||||
|
|
||||||
local M = {
|
local M = {
|
||||||
list = list,
|
list = list,
|
||||||
}
|
}
|
||||||
|
|
|
||||||
12
queries/llvm/highlights.scm
Normal file
12
queries/llvm/highlights.scm
Normal file
|
|
@ -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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue