equal to this number. For example, if this is set to 2,
`lisp-indent-offset' will not be set only if indent_size is 2.")
-(defcustom editorconfig-override-file-local-variables t
- "Non-nil means editorconfig will override file local variable values."
- :type 'boolean
- :group 'editorconfig)
-
-(defcustom editorconfig-override-dir-local-variables t
- "Non-nil means editorconfig will override values defined in dir-locals.el ."
- :type 'boolean
- :group 'editorconfig)
-
(define-error 'editorconfig-error
"Error thrown from editorconfig lib")
symbol
size)
:debug)
- (when (and (not editorconfig-override-file-local-variables)
- (assq symbol file-local-variables-alist))
+ (when (assq symbol file-local-variables-alist)
(cl-return-from editorconfig--should-set
nil))
- (when (and (not editorconfig-override-dir-local-variables)
- (assq symbol dir-local-variables-alist))
+ (when (assq symbol dir-local-variables-alist)
(cl-return-from editorconfig--should-set
nil))