feat(emacs/lean-syntax): support multi-line comments /- ... -/
This commit is contained in:
parent
c0762333bd
commit
495809d86d
1 changed files with 3 additions and 3 deletions
|
@ -25,9 +25,9 @@
|
|||
(modify-syntax-entry ?\] ")[" st)
|
||||
(modify-syntax-entry ?\{ "(}" st)
|
||||
(modify-syntax-entry ?\} "){" st)
|
||||
(modify-syntax-entry ?\( "() 1nb" st)
|
||||
(modify-syntax-entry ?\) ")( 4nb" st)
|
||||
|
||||
;; comment
|
||||
(modify-syntax-entry ?/ "_ 14nb" st)
|
||||
(modify-syntax-entry ?- "_ 123" st)
|
||||
(modify-syntax-entry ?\n ">" st)
|
||||
|
||||
|
@ -37,7 +37,7 @@
|
|||
|
||||
;; Lean operator chars
|
||||
(mapc #'(lambda (ch) (modify-syntax-entry ch "_" st))
|
||||
"!#$%&*+./<=>@^|~:")
|
||||
"!#$%&*+.<=>@^|~:")
|
||||
|
||||
;; Whitespace is whitespace
|
||||
(modify-syntax-entry ?\ " " st)
|
||||
|
|
Loading…
Reference in a new issue