mirror of
https://github.com/godotengine/emacs-gdscript-mode.git
synced 2025-12-31 21:48:34 +03:00
Add customizable variable for type hints
I use it for contextual yas snippets here, to include in a future version of the tool or as a separate package
This commit is contained in:
@@ -23,6 +23,12 @@
|
||||
map)
|
||||
"Keymap for `gdscript-mode'.")
|
||||
|
||||
(defcustom gdscript-use-type-hints t
|
||||
"If t, inserted snippets contain type hints"
|
||||
:group 'gdscript
|
||||
:type 'boolean)
|
||||
|
||||
|
||||
;; Lists of keywords in the language
|
||||
(defvar gdscript-keywords '("if" "elif" "else" "for" "do" "while" "match"
|
||||
"switch" "case" "break" "continue" "pass"
|
||||
|
||||
Reference in New Issue
Block a user