Variable: php-ts-html-indent-offset

php-ts-html-indent-offset is a customizable variable defined in php-ts-mode.el.gz.

Value

2

Documentation

The number of spaces to indent PHP code relative to HTML tags.

It is advisable to have this have the same value as mhtml-ts-mode-js-css-indent-offset.

This variable was added, or its default value changed, in Emacs 31.1.

Probably introduced at or before Emacs version 31.1.

Aliases

php-ts-mode-html-indent-offset (obsolete since 31)

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/php-ts-mode.el.gz
(defcustom php-ts-html-indent-offset 2
  "The number of spaces to indent PHP code relative to HTML tags.
It is advisable to have this have the same value as
`mhtml-ts-mode-js-css-indent-offset'."
  :tag "PHP indent offset relative to HTML"
  :version "31.1"
  :type 'integer
  :safe 'integerp)