branch: externals/bnf-mode commit e9a5e4a28a37b2a97a784019ab859cb9d13cbc41 Author: Serghei Iakovlev <serg...@phalconphp.com> Commit: Serghei Iakovlev <serg...@phalconphp.com>
Return back comment-start and comment-end Closes #2 --- CHANGELOG.org | 2 ++ bnf-mode.el | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/CHANGELOG.org b/CHANGELOG.org index 3800563..5b50aec 100644 --- a/CHANGELOG.org +++ b/CHANGELOG.org @@ -6,6 +6,8 @@ All notable changes to this project will be documented in this file. The format is based on [[http://keepachangelog.com][Keep a Changelog]] and this project adheres to [[http://semver.org][Semantic Versioning]]. ** [[https://github.com/sergeyklay/bnf-mode/compare/0.3.2...HEAD][Unreleased]] +*** Changed +- Return back =comment-start= and =comment-end= removed in [[https://github.com/sergeyklay/bnf-mode/commit/83f0e0fc144e453bcce459d2d655a7b48e77953e][83f0e0f]] ** [[https://github.com/sergeyklay/bnf-mode/compare/0.3.1...0.3.2][0.3.2]] - 2019-03-24 *** Changed diff --git a/bnf-mode.el b/bnf-mode.el index e6105bc..d70f503 100644 --- a/bnf-mode.el +++ b/bnf-mode.el @@ -193,6 +193,10 @@ See `rx' documentation for more information about REGEXPS param." "A major mode for editing BNF grammars." :syntax-table bnf-mode-syntax-table :group 'bnf-mode + ;; Comments setup. + (setq-local comment-use-syntax nil) + (setq-local comment-start "; ") + (setq-local comment-end "") ;; Font locking (setq font-lock-defaults '(