Open JanSimek opened 3 years ago
There is no error when I comment-out this part:
;;(defvar icinga2-mode-map
;; (let ((map (make-keymap)))
;; (define-key map "\C-j" 'newline-and-indent)
;; (define-key icinga2-mode-map [remap comment-dwim] 'icinga2-comment-dwim)
;; (define-key map "M-TAB" 'icinga2-complete-symbol)
;; map)
;; "Keymap for icinga2 major mode")
https://github.com/knowhy/icinga2-mode/commit/cb6482d3e4652d39e58413c58ad53ed2a53360ba should resolve this. Basic tab completion for keywords should work now.
Hello, I added this to my init.el:
But when I start emacs I am getting this error:
Symbol's value as variable is void: icinga2-mode-map
To ensure normal operation, you should investigate and remove the cause of the error in your initialization file. Start Emacs with the `--debug-init' option to view a complete error backtrace.
Starting with --debug-init: