mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2026-01-05 22:10:05 +03:00
Add missing package prefix to function definition
This commit is contained in:
@@ -32,7 +32,7 @@
|
|||||||
|
|
||||||
(require 'gdscript-keywords)
|
(require 'gdscript-keywords)
|
||||||
|
|
||||||
(defun regex-maker (words)
|
(defun gdscript-syntax-regex-maker (words)
|
||||||
(regexp-opt words 'symbols))
|
(regexp-opt words 'symbols))
|
||||||
|
|
||||||
;;; Font-lock and syntax
|
;;; Font-lock and syntax
|
||||||
@@ -55,14 +55,14 @@
|
|||||||
(_ form))))
|
(_ form))))
|
||||||
|
|
||||||
;; Controls font-face mappings or colors to highlight groups of keywords
|
;; Controls font-face mappings or colors to highlight groups of keywords
|
||||||
(defvar gdscript-font-lock `((,(regex-maker gdscript-keywords)
|
(defvar gdscript-font-lock `((,(gdscript-syntax-regex-maker gdscript-keywords)
|
||||||
1
|
1
|
||||||
font-lock-keyword-face)
|
font-lock-keyword-face)
|
||||||
(,(regex-maker (seq-concatenate 'list gdscript-built-in-constants
|
(,(gdscript-syntax-regex-maker (seq-concatenate 'list gdscript-built-in-constants
|
||||||
gdscript-built-in-types gdscript-built-in-functions))
|
gdscript-built-in-types gdscript-built-in-functions))
|
||||||
1
|
1
|
||||||
font-lock-builtin-face)
|
font-lock-builtin-face)
|
||||||
(,(regex-maker gdscript-built-in-classes)
|
(,(gdscript-syntax-regex-maker gdscript-built-in-classes)
|
||||||
1
|
1
|
||||||
font-lock-type-face)
|
font-lock-type-face)
|
||||||
(,(rx symbol-start
|
(,(rx symbol-start
|
||||||
|
|||||||
Reference in New Issue
Block a user