-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
disable dotspacemacs-whitespace-cleanup on certain mode #5961
Comments
See #6204 |
Great work as usual 👍 |
I agree it's a big improvement, but ideal would still be to turn it of automatically in certain modes. Speaking from experience here! ;) |
if you had a toggle, it will be easy enough to add a hook I think. |
Fixed with released of Spacemacs v0.200. Let us know if you still have any problems with this issue. |
(defun dotspacemacs/init ()
(setq-default
dotspacemacs-whitespace-cleanup 'trailing
))
(defun dotspacemacs/user-config ()
(add-hook 'markdown-mode-hook 'spacemacs/toggle-whitespace-cleanup-off)
) I added configurations like this, but it had still been enabled when I opened a markdown file. |
Please see #8221 . |
Can dotspacemacs-whitespace-cleanup be disabled on certain mode. It's really useful when I programming, but I want to disable in on something like Markdown (New line = two trailing whitespace).
A toggle on cleanup/not cleanup would be fine I guess.
The text was updated successfully, but these errors were encountered: