I am on Emacs 27.2 configured with the latest commit of Spacemacs,
I have both
lsp layer enabled. Sadly, I find
lsp-mode's auto-completion with the
ocaml-lsp too slow to use, so I want to disable this feature only for
So far, I only found global solutions like this, but I want a buffer-local, major-mode sensitive behavior. So, building on the previous solution, I have tried:
(add-hook 'tuareg-mode-hook 'spacemacs/toggle-auto-completion-off)
However, this fails to disable autocompletion on buffers of
tuareg-mode, maybe because
lsp mode enables it back.
So, I concluded that I have to tackle
tuareg. What settings should I set in order to achieve my goal?