Variable: editorconfig-indent-size-vars

editorconfig-indent-size-vars is a variable defined in editorconfig.el.gz.

Value

editorconfig--default-indent-size-function

Documentation

Rule to use to set a given indent_size.

This should hold the list of variables that need to be set to SIZE to tell the indentation code of the current major mode to use a basic indentation step of size SIZE. It can also take the form of a function, in which case we call it with a single SIZE argument (an integer) and it should return a list of (VAR . VAL) pairs indicating the variables to set and the values to set them to. Major modes are expected to set this buffer-locally.

View in manual

Source Code

;; Defined in /usr/src/emacs/lisp/editorconfig.el.gz
(defvar editorconfig-indent-size-vars
  #'editorconfig--default-indent-size-function
  "Rule to use to set a given `indent_size'.
This should hold the list of variables that need to be set to SIZE
to tell the indentation code of the current major mode to use a basic
indentation step of size SIZE.
It can also take the form of a function, in which case we call it with
a single SIZE argument (an integer) and it should return a list
of (VAR . VAL) pairs indicating the variables to set and the values to
set them to.
Major modes are expected to set this buffer-locally.")