mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -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" },
|
||||
}
|
||||
|
||||
list.llvm = {
|
||||
install_info = {
|
||||
url = "https://github.com/benwilliamgraham/tree-sitter-llvm",
|
||||
files = { "src/parser.c" },
|
||||
},
|
||||
maintainers = { "@benwilliamgraham" },
|
||||
}
|
||||
|
||||
local M = {
|
||||
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