Skip to content

Commit

Permalink
Standardize headings/comment style
Browse files Browse the repository at this point in the history
  • Loading branch information
mrkkrp committed Jun 11, 2023
1 parent 1bce9ea commit 14dcab6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions nushell-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,6 @@ a keyword would result in visual noise.")
'((t :inverse-video t :inherit font-lock-preprocessor-face))
"Face used to display elements that should attract attention.")

;;; Add `nushell-builtin' and `nushell-keywords' to
;;; font-lock
(defconst nushell-font-lock-keywords
`(

Expand Down Expand Up @@ -136,8 +134,6 @@ a keyword would result in visual noise.")
table)
"Syntax table for `nushell-mode'.")

;;; Mode definition

;;;###autoload
(define-derived-mode nushell-mode prog-mode "Nushell"
"Major mode for editing nushell shell files."
Expand All @@ -147,10 +143,9 @@ a keyword would result in visual noise.")
(setq-local comment-start-skip "#+[\t ]*"))

;;;###autoload
;;; Specify major mode by file extension .nu
(add-to-list 'auto-mode-alist '("\\.nu\\'" . nushell-mode))

;;;###autoload
;;; Specify major mode by shebang
(add-to-list 'interpreter-mode-alist '("nu" . nushell-mode))

(provide 'nushell-mode)
Expand Down

0 comments on commit 14dcab6

Please sign in to comment.