fix function rename
This commit is contained in:
parent
544ae6073e
commit
bfec1109a8
|
@ -16,7 +16,7 @@
|
||||||
;;;
|
;;;
|
||||||
|
|
||||||
(defvar undar-keywords
|
(defvar undar-keywords
|
||||||
'("fn" "to" "in" "is" "as" "use" "if" "else" "default"
|
'("function" "to" "in" "is" "as" "use" "if" "else" "default"
|
||||||
"for" "try" "catch" "while" "do" "exit" "switch"
|
"for" "try" "catch" "while" "do" "exit" "switch"
|
||||||
"return" "const" "type" "this" "yield" "case"
|
"return" "const" "type" "this" "yield" "case"
|
||||||
"assert" "break" "mod" "not" "and" "or" "print" "let"
|
"assert" "break" "mod" "not" "and" "or" "print" "let"
|
||||||
|
@ -79,7 +79,7 @@
|
||||||
st)
|
st)
|
||||||
"Syntax table for Undar mode.")
|
"Syntax table for Undar mode.")
|
||||||
|
|
||||||
(define-derived-mode undar-mode prog-mode "UNDAR"
|
(define-derived-mode undar-mode prog-mode "Undâr"
|
||||||
"Major mode for editing Undar code."
|
"Major mode for editing Undar code."
|
||||||
:syntax-table undar-mode-syntax-table
|
:syntax-table undar-mode-syntax-table
|
||||||
(setq-local font-lock-defaults '(undar-font-lock-keywords))
|
(setq-local font-lock-defaults '(undar-font-lock-keywords))
|
||||||
|
|
Loading…
Reference in New Issue