Skip to content

Commit

Permalink
Merge pull request #13 from nickel-lang/comment-delimiters
Browse files Browse the repository at this point in the history
Add comment delimiters
  • Loading branch information
aspiwack authored May 14, 2024
2 parents 8b78288 + 3304538 commit 7144128
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nickel-mode.el
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,8 @@
"Major mode for editing Nickel source code."
:group 'nickel
(setq font-lock-defaults '((nickel-mode-font-lock-keywords)))
(setq comment-start "#")
(setq comment-end "")
(set-syntax-table nickel-mode-syntax-table)
(setq-local syntax-propertize-function nickel-syntax-propertize-function))

Expand Down

0 comments on commit 7144128

Please sign in to comment.