Function: php-ts-mode-comment-setup

php-ts-mode-comment-setup is a byte-compiled function defined in php-ts-mode.el.gz.

Signature

(php-ts-mode-comment-setup)

Documentation

Set up local variables for PHP comment.

Depends on c-ts-common-comment-setup.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/php-ts-mode.el.gz
(defun php-ts-mode-comment-setup ()
  "Set up local variables for PHP comment.
Depends on `c-ts-common-comment-setup'."
  (c-ts-common-comment-setup)
  (setq-local c-ts-common--comment-regexp "comment"
              comment-line-break-function #'php-ts-mode--comment-indent-new-line
              comment-style 'extra-line
              comment-start-skip (rx (or (seq "#" (not (any "[")))
                                         (seq "/" (+ "/"))
                                         (seq "/" (+ "*")))
                                     (* (syntax whitespace)))))