Fix indentation highlights in built-in libraries
Doom highlights incorrect indentation (i.e. tabs if indent-tabs-mode = nil, spaces if indent-tabs-mode = t). This used to be disabled in read-only buffers (e.g. built-in libraries), making style conflicts hard to see. No more! Now you can see the mess for yourself!
This commit is contained in:
parent
a9d36ddcaf
commit
1406a45750
1 changed files with 0 additions and 1 deletions
|
@ -139,7 +139,6 @@ spaces at the beginnings of lines if the usual indentation is with tabs.
|
|||
Does nothing if `whitespace-mode' or `global-whitespace-mode' is already active
|
||||
or if the current buffer is read-only or not file-visiting."
|
||||
(unless (or (eq major-mode 'fundamental-mode)
|
||||
buffer-read-only
|
||||
(bound-and-true-p global-whitespace-mode)
|
||||
(null buffer-file-name))
|
||||
(require 'whitespace)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue