From bfec1109a8fe7a853dbc55cc175235511fe97b49 Mon Sep 17 00:00:00 2001 From: zongor Date: Sat, 6 Sep 2025 20:30:58 -0700 Subject: [PATCH] fix function rename --- undar-mode.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/undar-mode.el b/undar-mode.el index 895df0f..369a6b2 100644 --- a/undar-mode.el +++ b/undar-mode.el @@ -16,7 +16,7 @@ ;;; (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" "return" "const" "type" "this" "yield" "case" "assert" "break" "mod" "not" "and" "or" "print" "let" @@ -79,7 +79,7 @@ st) "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." :syntax-table undar-mode-syntax-table (setq-local font-lock-defaults '(undar-font-lock-keywords))