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:
Nathan Lovato
2020-01-31 10:15:15 -06:00
parent 3c1aa9a6d2
commit 9ae35cae52

View File

@@ -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"