mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
Setting company-echo-delay to 0.5 instead of 0 will help reduce unneeded and intrusive code-completion popups while in the middle of typing. It seemed like a good idea when I first set it, but after some use, no thanks. The whitespace-style tweak, effectively removes "indentation" from the list of items whitespace-cleanup deals with on save. Indentation is already being fixed by lsp-mode's before-save hooks, and whitespace-cleanup was not very intelligent about it. It specifically replaced all instances of four consecutive spaces in raw string literals with a tab, which caused issues with multi-line raw strings containing JSON.