mirror of
https://github.com/doomemacs/doomemacs.git
synced 2026-03-22 14:30:38 -07:00
Introduces a systemic fix to the problem where most major modes don't set `tab-width` and/or `standard-indent` to match the mode-specific indent variables. This tries to guess the indent variable(s) for any given major mode, by searching for variables that end in: X-ts-mode-indent-offset X-indent-offset X-indent-level X-tab-width X-basic-offset Where X is the major mode without the (base-)?(ts-)?-mode suffix. This should resolve to the correctly variable for most popular or newer packages. For modes where it isn't enough, modules will have to manually register with `set-indent-vars!`. This commit also moves various indent commands to a new lisp/lib/indent.el library and rewrites `doom/set-indent-width` to use this new API (which no longer depends on editorconfig, and less on dtrt-indent). Fix: #8713 |
||
|---|---|---|
| .. | ||
| evil | ||
| file-templates | ||
| fold | ||
| format | ||
| god | ||
| lispy | ||
| multiple-cursors | ||
| objed | ||
| parinfer | ||
| rotate-text | ||
| snippets | ||
| whitespace | ||
| word-wrap | ||
| .doommodule | ||
| README.org | ||
:editor
Description
For modules concerned with the insertion and editing of text. Amen.
Frequently asked questions
This category has no FAQs yet. Ask one?