Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/elisp/highlights.scm')
-rw-r--r--runtime/queries/elisp/highlights.scm72
1 files changed, 0 insertions, 72 deletions
diff --git a/runtime/queries/elisp/highlights.scm b/runtime/queries/elisp/highlights.scm
deleted file mode 100644
index 648c0221..00000000
--- a/runtime/queries/elisp/highlights.scm
+++ /dev/null
@@ -1,72 +0,0 @@
-;; Special forms
-[
- "and"
- "catch"
- "cond"
- "condition-case"
- "defconst"
- "defvar"
- "function"
- "if"
- "interactive"
- "lambda"
- "let"
- "let*"
- "or"
- "prog1"
- "prog2"
- "progn"
- "quote"
- "save-current-buffer"
- "save-excursion"
- "save-restriction"
- "setq"
- "setq-default"
- "unwind-protect"
- "while"
-] @keyword
-
-(string) @string
-
-;; Function definitions
-[
- "defun"
- "defsubst"
- ] @keyword
-(function_definition name: (symbol) @function)
-(function_definition parameters: (list (symbol) @variable.parameter))
-(function_definition docstring: (string) @comment)
-
-;; Highlight macro definitions the same way as function definitions.
-"defmacro" @keyword
-(macro_definition name: (symbol) @function)
-(macro_definition parameters: (list (symbol) @variable.parameter))
-(macro_definition docstring: (string) @comment)
-
-(comment) @comment
-
-(integer) @constant.numeric.integer
-(float) @constant.numeric.float
-(char) @constant.character
-
-[
- "("
- ")"
- "#["
- "["
- "]"
-] @punctuation.bracket
-
-[
- "`"
- "#'"
- "'"
- ","
- ",@"
-] @operator
-
-;; Highlight nil and t as constants, unlike other symbols
-[
- "nil"
- "t"
-] @constant.builtin