Open asmodeus812 opened 2 years ago
Seems to be caused by enabling setq company-auto-complete t
, to disable this behaviour disable it like that `setq company-auto-complete nil). Pasting this for future reference -https://stackoverflow.com/questions/27008259/emacs-company-mode-inserts-completion-on-space-key-pressed
``I have noticed a very weird problem with company (with LSP). When typing something and i get the autocomplete options in the list but i decide to delete a few characters (using backspace) the entire line delimiter (\n) gets deleted for some reason and the line below the one i am editing. What is odd is this is happening only when deleting the member accessor (e.g . or -> in c/c++). The same issue also happens if you start typing a symbol, the suggestions show up, if you start deleting char by char, the list updates, but the moment you delete the last character, instead of leaving just a blank line, it inserts the top most suggestion in the list of suggestions and again deletes the new line char (\n)