File tree Expand file tree Collapse file tree 6 files changed +44
-0
lines changed Expand file tree Collapse file tree 6 files changed +44
-0
lines changed Original file line number Diff line number Diff line change 44/dist
55
66* .tar.gz
7+ * .elc
Original file line number Diff line number Diff line change 382382 branch = master
383383 update = none
384384 ignore = dirty
385+ [submodule "repos/asm "]
386+ path = repos/asm
387+ url = https://github.com/rush-rs/tree-sitter-asm
388+ branch = main
389+ update = none
390+ ignore = dirty
Original file line number Diff line number Diff line change 11# Changelog
22
33## Unreleased
4+ - Add ` Assembly ` support
45
56## 0.12.49 - 2023-09-10
67- Improve ` CMake ` highlight.scm
Original file line number Diff line number Diff line change 1+ ; General
2+ (label (ident) @label )
3+ (reg) @variable.builtin
4+ (meta
5+ kind: (_) @function.builtin )
6+ (instruction
7+ kind: (_) @function.call )
8+
9+ ; Comments
10+ (line_comment) @comment
11+
12+ ; Literals
13+ (int) @number
14+ (float) @number
15+ (string) @string
16+
17+ ; Keywords
18+ [
19+ "byte"
20+ "word"
21+ "dword"
22+ "qword"
23+ "ptr"
24+ "rel"
25+ ] @keyword
26+
27+ ; Operators & Punctuation
28+ ["+" "-" "*"] @operator
29+
30+ ["(" ")" "[" "]"] @punctuation.bracket
31+
32+ ["," ":"] @punctuation.delimiter
Original file line number Diff line number Diff line change @@ -101,6 +101,9 @@ See `tree-sitter-langs-repos'."
101101 '((ada-mode . ada)
102102 (agda-mode . agda)
103103 (agda2-mode . agda)
104+ (fasm-mode . asm)
105+ (masm-mode . asm)
106+ (nasm-mode . asm)
104107 (sh-mode . bash)
105108 (beancount-mode . beancount)
106109 (bibtex-mode . bibtex)
You can’t perform that action at this time.
0 commit comments