mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-10 09:43:26 -08:00
Fix comment end delimiter fontification in OPascal mode
* lisp/progmodes/opascal.el (opascal-mode): Fontify the ending brace with `font-lock-comment-delimiter-face' correctly (bug#34088).
This commit is contained in:
parent
c9bf4e7f43
commit
17a950cc80
1 changed files with 1 additions and 0 deletions
|
|
@ -1766,6 +1766,7 @@ Coloring:
|
|||
(setq-local syntax-propertize-function opascal--syntax-propertize)
|
||||
|
||||
(setq-local comment-start "// ")
|
||||
(setq-local comment-end "}")
|
||||
(setq-local comment-start-skip "\\(?://\\|(\\*\\|{\\)[ \t]*")
|
||||
(setq-local comment-end-skip "[ \t]*\\(?:\n\\|\\*)\\|}\\)"))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue