From 498ab15e1859cd9ab6b3dcd2cd49e96a6e776a9f Mon Sep 17 00:00:00 2001 From: Nidish Narayanaa Balaji Date: Thu, 21 Dec 2023 10:51:52 +0100 Subject: [PATCH 01/12] Created a basic highlighter query set for julia --- .gitignore | 1 + queries/julia/highlights.scm | 496 +++++++++++++++++++++++++++++++++++ 2 files changed, 497 insertions(+) create mode 100644 queries/julia/highlights.scm diff --git a/.gitignore b/.gitignore index bd1e6cde6..acb0caa93 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ *.tar.gz *.elc +*~ diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm new file mode 100644 index 000000000..1e76c66f4 --- /dev/null +++ b/queries/julia/highlights.scm @@ -0,0 +1,496 @@ +;;; Identifiers + +(identifier) @variable + + ; ;; If you want type highlighting based on Julia naming conventions (this might collide with mathematical notation) + ; ((identifier) @type + ; (match? @type "^[A-Z][^_]")) ; exception: Highlight `A_foo` sort of identifiers as variables + +(macro_identifier) @function.macro +(macro_identifier + (identifier) @function.macro) ; for any one using the variable highlight + +(macro_definition + name: (identifier) @function.macro) + +(quote_expression + ":" @symbol + [(identifier) (operator)] @symbol) + +(field_expression + (identifier) @field .) + + +;;; Function names + +;; Definitions + +(function_definition + "function" @keyword + name: (identifier) @function + "end" ? @keyword) +;; (function_definition +;; name: (identifier) @function) +;; (short_function_definition +;; name: (identifier) @function) + +;; (function_definition +;; name: (field_expression (identifier) @function .)) +;; (short_function_definition +;; name: (field_expression (identifier) @function .)) + +;; calls + +(call_expression + (identifier) @function.call) +(call_expression + (field_expression (identifier) @function.call .)) + +(broadcast_call_expression + (identifier) @function.call) +(broadcast_call_expression + (field_expression (identifier) @function.call .)) + +;; Builtins + +((identifier) @function.builtin + (#any-of? @function.builtin + "_abstracttype" "_apply_iterate" "_apply_pure" "_call_in_world" "_call_in_world_total" + "_call_latest" "_equiv_typedef" "_expr" "_primitivetype" "_setsuper!" "_structtype" + "_typebody!" "_typevar" "applicable" "apply_type" "arrayref" "arrayset" "arraysize" + "const_arrayref" "donotdelete" "fieldtype" "get_binding_type" "getfield" "ifelse" "invoke" "isa" + "isdefined" "modifyfield!" "nfields" "replacefield!" "set_binding_type!" "setfield!" "sizeof" + "svec" "swapfield!" "throw" "tuple" "typeassert" "typeof")) + + +;;; Parameters + +(parameter_list + (identifier) @variable.parameter) +(optional_parameter . + (identifier) @variable.parameter) +;; (slurp_parameter +;; (identifier) @parameter) + +;; (typed_parameter +;; parameter: (identifier)? @type.parameter +;; type: (_) @type) + +(function_expression + . (identifier) @variable.parameter) ; Single parameter arrow functions + + +;;; Types + +;; Definitions + +(abstract_definition + name: (identifier) @type.definition) @keyword +(primitive_definition + name: (identifier) @type.definition) @keyword +(struct_definition + name: (identifier) @type) +;; (type_clause +;; [(identifier) @type +;; (field_expression (identifier) @type .)]) + +;; Annotations + +;; (parametrized_type_expression +;; (_) @type +;; (curly_expression (_) @type)) + +(type_parameter_list + (identifier) @type) + +(typed_expression + (identifier) @type .) + +;; (function_definition +;; return_type: (identifier) @type) + +;; (short_function_definition +;; return_type: (identifier) @type) + +;; (where_clause +;; (identifier) @type) +;; (where_clause +;; (curly_expression (_) @type)) + +;; Builtins + +;; This list was generated with: +;; +;; istype(x) = typeof(x) === DataType || typeof(x) === UnionAll +;; get_types(m) = filter(x -> istype(Base.eval(m, x)), names(m)) +;; type_names = sort(union(get_types(Core), get_types(Base))) +;; +((identifier) @type.builtin + (#any-of? @type.builtin + "AbstractArray" + "AbstractChannel" + "AbstractChar" + "AbstractDict" + "AbstractDisplay" + "AbstractFloat" + "AbstractIrrational" + "AbstractLock" + "AbstractMatch" + "AbstractMatrix" + "AbstractPattern" + "AbstractRange" + "AbstractSet" + "AbstractSlices" + "AbstractString" + "AbstractUnitRange" + "AbstractVecOrMat" + "AbstractVector" + "Any" + "ArgumentError" + "Array" + "AssertionError" + "Atomic" + "BigFloat" + "BigInt" + "BitArray" + "BitMatrix" + "BitSet" + "BitVector" + "Bool" + "BoundsError" + "By" + "CanonicalIndexError" + "CapturedException" + "CartesianIndex" + "CartesianIndices" + "Cchar" + "Cdouble" + "Cfloat" + "Channel" + "Char" + "Cint" + "Cintmax_t" + "Clong" + "Clonglong" + "Cmd" + "Colon" + "ColumnSlices" + "Complex" + "ComplexF16" + "ComplexF32" + "ComplexF64" + "ComposedFunction" + "CompositeException" + "ConcurrencyViolationError" + "Condition" + "Cptrdiff_t" + "Cshort" + "Csize_t" + "Cssize_t" + "Cstring" + "Cuchar" + "Cuint" + "Cuintmax_t" + "Culong" + "Culonglong" + "Cushort" + "Cvoid" + "Cwchar_t" + "Cwstring" + "DataType" + "DenseArray" + "DenseMatrix" + "DenseVecOrMat" + "DenseVector" + "Dict" + "DimensionMismatch" + "Dims" + "DivideError" + "DomainError" + "EOFError" + "Enum" + "ErrorException" + "Exception" + "ExponentialBackOff" + "Expr" + "Float16" + "Float32" + "Float64" + "Function" + "GlobalRef" + "HTML" + "IO" + "IOBuffer" + "IOContext" + "IOStream" + "IdDict" + "IndexCartesian" + "IndexLinear" + "IndexStyle" + "InexactError" + "InitError" + "Int" + "Int128" + "Int16" + "Int32" + "Int64" + "Int8" + "Integer" + "InterruptException" + "InvalidStateException" + "Irrational" + "KeyError" + "LazyString" + "LinRange" + "LineNumberNode" + "LinearIndices" + "LoadError" + "Lt" + "MIME" + "Matrix" + "Method" + "MethodError" + "Missing" + "MissingException" + "Module" + "NTuple" + "NamedTuple" + "Nothing" + "Number" + "Ordering" + "OrdinalRange" + "OutOfMemoryError" + "OverflowError" + "Pair" + "ParseError" + "PartialQuickSort" + "Perm" + "PermutedDimsArray" + "Pipe" + "ProcessFailedException" + "Ptr" + "QuoteNode" + "Rational" + "RawFD" + "ReadOnlyMemoryError" + "Real" + "ReentrantLock" + "Ref" + "Regex" + "RegexMatch" + "Returns" + "ReverseOrdering" + "RoundingMode" + "RowSlices" + "SegmentationFault" + "Set" + "Signed" + "Slices" + "Some" + "SpinLock" + "StackFrame" + "StackOverflowError" + "StackTrace" + "Stateful" + "StepRange" + "StepRangeLen" + "StridedArray" + "StridedMatrix" + "StridedVecOrMat" + "StridedVector" + "String" + "StringIndexError" + "SubArray" + "SubString" + "SubstitutionString" + "Symbol" + "SystemError" + "Task" + "TaskFailedException" + "Text" + "TextDisplay" + "Timer" + "Tmstruct" + "Tuple" + "Type" + "TypeError" + "TypeVar" + "UInt" + "UInt128" + "UInt16" + "UInt32" + "UInt64" + "UInt8" + "UndefInitializer" + "UndefKeywordError" + "UndefRefError" + "UndefVarError" + "Union" + "UnionAll" + "UnitRange" + "Unsigned" + "Val" + "VecElement" + "VecOrMat" + "Vector" + "VersionNumber" + "WeakKeyDict" + "WeakRef")) + +((identifier) @variable.builtin + (#any-of? @variable.builtin "begin" "end") + (#has-ancestor? @variable.builtin index_expression)) + +((identifier) @variable.builtin + (#any-of? @variable.builtin "begin" "end") + (#has-ancestor? @variable.builtin range_expression)) + +;;; Keywords + +;; [ +;; "global" +;; "local" +;; ] @keyword + + +;; (compound_statement +;; ["begin" "end"] @keyword) +(quote_statement + ["quote" "end"] @keyword) +(let_statement + ["let" "end"] @keyword) + +(if_statement + ["if" "end"] @conditional) +(elseif_clause + "elseif" @conditional) +(else_clause + "else" @conditional) +(if_clause + "if" @conditional) ; `if` clause in comprehensions +(ternary_expression + ["?" ":"] @conditional.ternary) + +(try_statement + ["try" "end"] @exception) +(finally_clause + "finally" @exception) +(catch_clause + "catch" @exception) + +(for_statement + ["for" "end"] @keyword) +(while_statement + ["while" "end"] @keyword) +(for_clause + "for" @keyword) +[ + (break_statement) + (continue_statement) + ] @repeat + +(module_definition + ["module" ;; "baremodule" + "end"] @keyword) +(import_statement + ["import" "using"] @keyword) +;; (import_alias +;; "as" @keyword) +(export_statement + "export" @keyword) + +(struct_definition + ["struct" "end"] @keyword) + +(macro_definition + ["macro" "end"] @keyword) + +(function_definition + ["function" "end"] @keyword.function) +(do_clause + ["do" "end"] @keyword.function) +(return_statement + "return" @keyword.return) + +[ + "const" + "mutable" + ] @type.qualifier + + +;;; Operators & Punctuation + +[ + "=" + "∈" + (operator) + ] @operator + +;; (adjoint_expression "'" @operator) +(range_expression ":" @operator) + +((operator) @keyword.operator + (#any-of? @keyword.operator "in" "isa")) + +(for_binding "in" @keyword.operator) + +;; (where_clause "where" @keyword.operator) +;; (where_expression "where" @keyword.operator) + +[ + "," + "." + ";" + "::" + "->" + ] @punctuation.delimiter + +[ + "..." + ] @punctuation.special + +["(" ")" "[" "]" "{" "}"] @punctuation.bracket + + +;;; Literals + +;; (boolean_literal) @boolean +;; (integer_literal) @number +;; (float_literal) @float + +(number) @number + +((identifier) @float + (#any-of? @float "NaN" "NaN16" "NaN32" + "Inf" "Inf16" "Inf32")) + +((identifier) @constant.builtin + (#any-of? @constant.builtin "nothing" "missing")) + +(character) @character +;; (escape_sequence) @string.escape + +(string) @string +;; (prefixed_string_literal +;; prefix: (identifier) @function.macro) @string + +;; (command_literal) @string.special +;; (prefixed_command_literal +;; prefix: (identifier) @function.macro) @string.special + +((string) @string.documentation @spell + . [ + (module_definition) + (abstract_definition) + (struct_definition) + (function_definition) + ;; (short_function_definition) + (assignment_expression) + (const_statement) + ]) + +;; [ +;; (line_comment) +;; (block_comment) +;; ] @comment @spell +(comment) @comment From 2f6a4a9d74bbfe44f29924056ef062c62e50264b Mon Sep 17 00:00:00 2001 From: Nidish Narayanaa Balaji Date: Sat, 6 Jan 2024 19:19:48 +0100 Subject: [PATCH 02/12] Bugfixes to Julia queries. Conditionals & exceptions work now. --- queries/julia/highlights.scm | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index 1e76c66f4..f0f28ebe3 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -361,22 +361,22 @@ ["let" "end"] @keyword) (if_statement - ["if" "end"] @conditional) + ["if" "end"] @keyword) (elseif_clause - "elseif" @conditional) + "elseif" @keyword) (else_clause - "else" @conditional) + "else" @keyword) (if_clause - "if" @conditional) ; `if` clause in comprehensions + "if" @keyword) ; `if` clause in comprehensions (ternary_expression - ["?" ":"] @conditional.ternary) + ["?" ":"] @operator) (try_statement - ["try" "end"] @exception) + ["try" "end"] @keyword) (finally_clause - "finally" @exception) + "finally" @keyword) (catch_clause - "catch" @exception) + "catch" @keyword) (for_statement ["for" "end"] @keyword) From 0a5425c3ed0a24c9967360df68cd935d2b8b8745 Mon Sep 17 00:00:00 2001 From: Nidish Narayanaa Balaji Date: Thu, 11 Jan 2024 12:27:55 +0100 Subject: [PATCH 03/12] more highlights --- queries/julia/highlights.scm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/queries/julia/highlights.scm b/queries/julia/highlights.scm index f0f28ebe3..9b0139f11 100644 --- a/queries/julia/highlights.scm +++ b/queries/julia/highlights.scm @@ -1,6 +1,6 @@ ;;; Identifiers -(identifier) @variable +(identifier) @variable.parameter ; ;; If you want type highlighting based on Julia naming conventions (this might collide with mathematical notation) ; ((identifier) @type @@ -410,7 +410,7 @@ (do_clause ["do" "end"] @keyword.function) (return_statement - "return" @keyword.return) + "return" @keyword) [ "const" @@ -494,3 +494,5 @@ ;; (block_comment) ;; ] @comment @spell (comment) @comment +(triple_string) @comment +(block_comment) @comment From eb3cdab7b339d088ee7ed3143f6d9002bc3dfb20 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=E1=BA=A5n-Anh=20Nguy=E1=BB=85n?= Date: Wed, 6 Mar 2024 09:09:59 +0000 Subject: [PATCH 04/12] Release 0.12.151 --- CHANGELOG.md | 2 ++ tree-sitter-langs-build.el | 2 +- tree-sitter-langs.el | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56c47fd40..273373f3b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 0.12.151 - 2024-03-06 + ## 0.12.150 - 2024-03-04 - Add `highlights.scm` for `Zig` diff --git a/tree-sitter-langs-build.el b/tree-sitter-langs-build.el index 7d3cfd883..fffc74de6 100644 --- a/tree-sitter-langs-build.el +++ b/tree-sitter-langs-build.el @@ -230,7 +230,7 @@ latest commit." ;; --------------------------------------------------------------------------- ;;; Building language grammars. -(defconst tree-sitter-langs--bundle-version "0.12.150" +(defconst tree-sitter-langs--bundle-version "0.12.151" "Version of the grammar bundle. This should be bumped whenever a language submodule is updated, which should be infrequent (grammar-only changes). It is different from the version of diff --git a/tree-sitter-langs.el b/tree-sitter-langs.el index 75a1a2032..30ec16b99 100644 --- a/tree-sitter-langs.el +++ b/tree-sitter-langs.el @@ -5,7 +5,7 @@ ;; Author: Tuấn-Anh Nguyễn ;; Keywords: languages tools parsers tree-sitter ;; Homepage: https://github.com/emacs-tree-sitter/tree-sitter-langs -;; Version: 0.12.150 +;; Version: 0.12.151 ;; Package-Requires: ((emacs "25.1") (tree-sitter "0.15.0")) ;; SPDX-License-Identifier: MIT From cd1795e10c5a9a817c2d5a454651860bb688887e Mon Sep 17 00:00:00 2001 From: Nidish Narayanaa Balaji Date: Wed, 6 Mar 2024 10:26:05 +0100 Subject: [PATCH 05/12] Improvements to matlab-highlights --- queries/matlab/highlights.scm | 104 ++++++++++++++++++---------------- 1 file changed, 54 insertions(+), 50 deletions(-) diff --git a/queries/matlab/highlights.scm b/queries/matlab/highlights.scm index 5b744c4fe..28f3189e7 100644 --- a/queries/matlab/highlights.scm +++ b/queries/matlab/highlights.scm @@ -47,9 +47,58 @@ "~" @constant.builtin +; Literals + +(escape_sequence) @escape +(formatting_sequence) @escape +(string) @string +(number) @number +(boolean) @constant.builtin + +; Punctuation + +[ ";" "," "." ] @punctuation.delimiter +[ "(" ")" "[" "]" "{" "}" ] @punctuation.bracket + +; Operators + +(unary_operator ["+" "-"] @number) + +[ + "+" + ".+" + "-" + ".*" + "*" + ".*" + "/" + "./" + "\\" + ".\\" + "^" + ".^" + "'" + ".'" + "|" + "&" + "?" + "@" + "<" + "<=" + ">" + ">=" + "==" + "~=" + "=" + "&&" + "||" + ":" +] @operator + ; Fields/Properties -(field_expression field: (identifier) @property) +(field_expression object: (identifier) @variable) +(field_expression field: (identifier) @variable.parameter) (superclass "." (identifier) @property) (property_name "." (identifier) @property) (property name: (identifier) @property) @@ -70,6 +119,7 @@ (function_signature name: (identifier) @function) (function_call name: (identifier) @function.call) +(function_call (arguments) @variable.parameter) (handle_operator (identifier) @function) (validation_functions (identifier) @function) @@ -105,65 +155,17 @@ (try_statement [ "try" "end" ] @keyword) (catch_clause "catch" @keyword) -; Punctuation - -[ ";" "," "." ] @punctuation.delimiter -[ "(" ")" "[" "]" "{" "}" ] @punctuation.bracket - -; Literals - -(escape_sequence) @escape -(formatting_sequence) @escape -(string) @string -(number) @number -(boolean) @constant.builtin - ; Comments [ (comment) (line_continuation) ] @comment @spell -; Operators - -(unary_operator ["+" "-"] @number) - -[ - "+" - ".+" - "-" - ".*" - "*" - ".*" - "/" - "./" - "\\" - ".\\" - "^" - ".^" - "'" - ".'" - "|" - "&" - "?" - "@" - "<" - "<=" - ">" - ">=" - "==" - "~=" - "=" - "&&" - "||" - ":" -] @operator - ; Assignments (assignment left: (_) @variable) +(assignment right: (_) @variable) (multioutput_variable (_) @variable) ; Keywords - [ "arguments" "classdef" @@ -176,3 +178,5 @@ "properties" ] @keyword +; Binary operation +(binary_operator) @variable From c037098e969162c6170119e9813cfa1bda50b3cd Mon Sep 17 00:00:00 2001 From: Nidish Narayanaa Balaji Date: Wed, 6 Mar 2024 10:53:03 +0100 Subject: [PATCH 06/12] matlab switch and if identifiers --- queries/matlab/highlights.scm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/queries/matlab/highlights.scm b/queries/matlab/highlights.scm index 28f3189e7..228aa5fdb 100644 --- a/queries/matlab/highlights.scm +++ b/queries/matlab/highlights.scm @@ -137,9 +137,11 @@ ; Conditionals (if_statement [ "if" "end" ] @keyword) +(if_statement (identifier) @variable) (elseif_clause "elseif" @keyword) (else_clause "else" @keyword) (switch_statement [ "switch" "end" ] @keyword) +(switch_statement (identifier) @variable) (case_clause "case" @keyword) (otherwise_clause "otherwise" @keyword) (break_statement) @keyword From baf6759c239563fb138c19e673fca5c830260013 Mon Sep 17 00:00:00 2001 From: Nidish Narayanaa Balaji Date: Wed, 6 Mar 2024 10:59:29 +0100 Subject: [PATCH 07/12] matlab for_statement iterator --- queries/matlab/highlights.scm | 1 + 1 file changed, 1 insertion(+) diff --git a/queries/matlab/highlights.scm b/queries/matlab/highlights.scm index 228aa5fdb..fa1e6ace0 100644 --- a/queries/matlab/highlights.scm +++ b/queries/matlab/highlights.scm @@ -149,6 +149,7 @@ ; Repeats (for_statement [ "for" "parfor" "end" ] @keyword) +(for_statement (iterator (identifier) @variable)) (while_statement [ "while" "end" ] @keyword) (continue_statement) @keyword From 8a3a02ef8c067a690bb02d74d70cec581f4cfbc0 Mon Sep 17 00:00:00 2001 From: Nidish Narayanaa Balaji Date: Wed, 6 Mar 2024 12:11:20 +0100 Subject: [PATCH 08/12] Reverting version bump --- CHANGELOG.md | 2 -- tree-sitter-langs-build.el | 2 +- tree-sitter-langs.el | 2 +- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 273373f3b..56c47fd40 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,6 @@ ## Unreleased -## 0.12.151 - 2024-03-06 - ## 0.12.150 - 2024-03-04 - Add `highlights.scm` for `Zig` diff --git a/tree-sitter-langs-build.el b/tree-sitter-langs-build.el index fffc74de6..7d3cfd883 100644 --- a/tree-sitter-langs-build.el +++ b/tree-sitter-langs-build.el @@ -230,7 +230,7 @@ latest commit." ;; --------------------------------------------------------------------------- ;;; Building language grammars. -(defconst tree-sitter-langs--bundle-version "0.12.151" +(defconst tree-sitter-langs--bundle-version "0.12.150" "Version of the grammar bundle. This should be bumped whenever a language submodule is updated, which should be infrequent (grammar-only changes). It is different from the version of diff --git a/tree-sitter-langs.el b/tree-sitter-langs.el index 30ec16b99..75a1a2032 100644 --- a/tree-sitter-langs.el +++ b/tree-sitter-langs.el @@ -5,7 +5,7 @@ ;; Author: Tuấn-Anh Nguyễn ;; Keywords: languages tools parsers tree-sitter ;; Homepage: https://github.com/emacs-tree-sitter/tree-sitter-langs -;; Version: 0.12.151 +;; Version: 0.12.150 ;; Package-Requires: ((emacs "25.1") (tree-sitter "0.15.0")) ;; SPDX-License-Identifier: MIT From 7ef92d433758b7792d7c126950a0f6944fe5892e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=E1=BA=A5n-Anh=20Nguy=E1=BB=85n?= Date: Sun, 21 Apr 2024 19:05:40 +0000 Subject: [PATCH 09/12] Release 0.12.179 --- CHANGELOG.md | 2 ++ tree-sitter-langs-build.el | 2 +- tree-sitter-langs.el | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 61d80327c..92329a41d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 0.12.179 - 2024-04-21 + ## 0.12.178 - 2024-04-21 ## 0.12.177 - 2024-04-21 diff --git a/tree-sitter-langs-build.el b/tree-sitter-langs-build.el index 1acf23ac2..aab340ef4 100644 --- a/tree-sitter-langs-build.el +++ b/tree-sitter-langs-build.el @@ -232,7 +232,7 @@ latest commit." ;; --------------------------------------------------------------------------- ;;; Building language grammars. -(defconst tree-sitter-langs--bundle-version "0.12.178" +(defconst tree-sitter-langs--bundle-version "0.12.179" "Version of the grammar bundle. This should be bumped whenever a language submodule is updated, which should be infrequent (grammar-only changes). It is different from the version of diff --git a/tree-sitter-langs.el b/tree-sitter-langs.el index 4d1749528..c2f5b2cde 100644 --- a/tree-sitter-langs.el +++ b/tree-sitter-langs.el @@ -5,7 +5,7 @@ ;; Author: Tuấn-Anh Nguyễn ;; Keywords: languages tools parsers tree-sitter ;; Homepage: https://github.com/emacs-tree-sitter/tree-sitter-langs -;; Version: 0.12.178 +;; Version: 0.12.179 ;; Package-Requires: ((emacs "25.1") (tree-sitter "0.15.0")) ;; SPDX-License-Identifier: MIT From 70d4b3e76d01c35eef4ffa375b9796eab1104986 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=E1=BA=A5n-Anh=20Nguy=E1=BB=85n?= Date: Thu, 25 Apr 2024 13:15:34 +0000 Subject: [PATCH 10/12] Release 0.12.182 --- CHANGELOG.md | 2 ++ tree-sitter-langs-build.el | 2 +- tree-sitter-langs.el | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 58308dfa0..cbdb851c9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 0.12.182 - 2024-04-25 + ## 0.12.181 - 2024-04-25 ## 0.12.180 - 2024-04-22 diff --git a/tree-sitter-langs-build.el b/tree-sitter-langs-build.el index e62fc01b4..08ff4d36b 100644 --- a/tree-sitter-langs-build.el +++ b/tree-sitter-langs-build.el @@ -232,7 +232,7 @@ latest commit." ;; --------------------------------------------------------------------------- ;;; Building language grammars. -(defconst tree-sitter-langs--bundle-version "0.12.181" +(defconst tree-sitter-langs--bundle-version "0.12.182" "Version of the grammar bundle. This should be bumped whenever a language submodule is updated, which should be infrequent (grammar-only changes). It is different from the version of diff --git a/tree-sitter-langs.el b/tree-sitter-langs.el index f850a8a4e..a861c28df 100644 --- a/tree-sitter-langs.el +++ b/tree-sitter-langs.el @@ -5,7 +5,7 @@ ;; Author: Tuấn-Anh Nguyễn ;; Keywords: languages tools parsers tree-sitter ;; Homepage: https://github.com/emacs-tree-sitter/tree-sitter-langs -;; Version: 0.12.181 +;; Version: 0.12.182 ;; Package-Requires: ((emacs "25.1") (tree-sitter "0.15.0")) ;; SPDX-License-Identifier: MIT From ba855f087c0b4157ccc39cdc7646cdc6ad21492a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=E1=BA=A5n-Anh=20Nguy=E1=BB=85n?= Date: Sun, 23 Mar 2025 09:18:27 +0000 Subject: [PATCH 11/12] Release 0.12.267 --- CHANGELOG.md | 2 ++ tree-sitter-langs-build.el | 2 +- tree-sitter-langs.el | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 02a134c60..6ff3126a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 0.12.267 - 2025-03-23 + ## 0.12.266 - 2025-03-23 ## 0.12.265 - 2025-03-16 diff --git a/tree-sitter-langs-build.el b/tree-sitter-langs-build.el index 90e93cb83..2c4f8c288 100644 --- a/tree-sitter-langs-build.el +++ b/tree-sitter-langs-build.el @@ -233,7 +233,7 @@ latest commit." ;; --------------------------------------------------------------------------- ;;; Building language grammars. -(defconst tree-sitter-langs--bundle-version "0.12.266" +(defconst tree-sitter-langs--bundle-version "0.12.267" "Version of the grammar bundle. This should be bumped whenever a language submodule is updated, which should be infrequent (grammar-only changes). It is different from the version of diff --git a/tree-sitter-langs.el b/tree-sitter-langs.el index 5650c10f7..d3114ff80 100644 --- a/tree-sitter-langs.el +++ b/tree-sitter-langs.el @@ -6,7 +6,7 @@ ;; Maintainer: Jen-Chieh Shen ;; Keywords: languages tools parsers tree-sitter ;; Homepage: https://github.com/emacs-tree-sitter/tree-sitter-langs -;; Version: 0.12.266 +;; Version: 0.12.267 ;; Package-Requires: ((emacs "25.1") (tree-sitter "0.15.0")) ;; SPDX-License-Identifier: MIT From 6bf2b81841890acfe36ffe39582ff0c4c5d0e5a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tu=E1=BA=A5n-Anh=20Nguy=E1=BB=85n?= Date: Thu, 24 Apr 2025 06:21:46 +0000 Subject: [PATCH 12/12] Release 0.12.272 --- CHANGELOG.md | 2 ++ tree-sitter-langs-build.el | 2 +- tree-sitter-langs.el | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f8e2cc71..991c8ad6b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## 0.12.272 - 2025-04-24 + ## 0.12.271 - 2025-04-20 ## 0.12.270 - 2025-04-16 diff --git a/tree-sitter-langs-build.el b/tree-sitter-langs-build.el index 278543584..298a2e0ba 100644 --- a/tree-sitter-langs-build.el +++ b/tree-sitter-langs-build.el @@ -233,7 +233,7 @@ latest commit." ;; --------------------------------------------------------------------------- ;;; Building language grammars. -(defconst tree-sitter-langs--bundle-version "0.12.271" +(defconst tree-sitter-langs--bundle-version "0.12.272" "Version of the grammar bundle. This should be bumped whenever a language submodule is updated, which should be infrequent (grammar-only changes). It is different from the version of diff --git a/tree-sitter-langs.el b/tree-sitter-langs.el index 595a83f83..81ba1c031 100644 --- a/tree-sitter-langs.el +++ b/tree-sitter-langs.el @@ -6,7 +6,7 @@ ;; Maintainer: Jen-Chieh Shen ;; Keywords: languages tools parsers tree-sitter ;; Homepage: https://github.com/emacs-tree-sitter/tree-sitter-langs -;; Version: 0.12.271 +;; Version: 0.12.272 ;; Package-Requires: ((emacs "25.1") (tree-sitter "0.15.0")) ;; SPDX-License-Identifier: MIT