fix(emacs/lean-syntax): change comment symbols to be considered as punctuations
Please read the documentation of "modify-syntax-entry": "The first character of NEWENTRY should be one of the following: _ symbol constituent . punctuation " Close: #306
This commit is contained in:
parent
18a41eb962
commit
d861c78072
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@
|
||||||
(modify-syntax-entry ?\} "){" st)
|
(modify-syntax-entry ?\} "){" st)
|
||||||
|
|
||||||
;; comment
|
;; comment
|
||||||
(modify-syntax-entry ?/ "_ 14nb" st)
|
(modify-syntax-entry ?/ ". 14nb" st)
|
||||||
(modify-syntax-entry ?- "_ 123" st)
|
(modify-syntax-entry ?- ". 123" st)
|
||||||
(modify-syntax-entry ?\n ">" st)
|
(modify-syntax-entry ?\n ">" st)
|
||||||
|
|
||||||
;; Word constituent
|
;; Word constituent
|
||||||
|
|
Loading…
Reference in a new issue