Consider a jsdoc tag to be a beginning of a paragraph as well

* lisp/progmodes/js.el (js-mode): Change c-paragraph-start to
consider a jsdoc tag to be a beginning of a paragraph as well.
This commit is contained in:
Dmitry Gutov 2015-07-18 04:01:01 +03:00
parent 6413c10131
commit 8b57f12ab7

View file

@ -3528,7 +3528,7 @@ If one hasn't been set, or if it's stale, prompt for a new one."
;; for filling, pretend we're cc-mode
(setq c-comment-prefix-regexp "//+\\|\\**"
c-paragraph-start "$"
c-paragraph-start "\\(@[[:alpha:]]+\\>\\|$\\)"
c-paragraph-separate "$"
c-block-comment-prefix "* "
c-line-comment-starter "//"