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:
Soonho Kong 2014-11-07 17:48:21 -05:00
parent 18a41eb962
commit d861c78072

View file

@ -28,8 +28,8 @@
(modify-syntax-entry ?\} "){" st)
;; comment
(modify-syntax-entry ?/ "_ 14nb" st)
(modify-syntax-entry ?- "_ 123" st)
(modify-syntax-entry ?/ ". 14nb" st)
(modify-syntax-entry ?- ". 123" st)
(modify-syntax-entry ?\n ">" st)
;; Word constituent