diff options
author | Florian Diebold <[email protected]> | 2019-06-12 19:38:28 +0100 |
---|---|---|
committer | Florian Diebold <[email protected]> | 2019-06-14 19:58:03 +0100 |
commit | 882daf424576d59b0dd089aa5facc9d98ac0b9fd (patch) | |
tree | f1fa918cbe8c8c4cabb2bc5aee49643df1a2393f /editors | |
parent | dafa17708838d0dc17ab175451b3c455921b4836 (diff) |
ra-emacs-lsp: Fix company-lsp snippet handler override
Diffstat (limited to 'editors')
-rw-r--r-- | editors/emacs/ra-emacs-lsp.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editors/emacs/ra-emacs-lsp.el b/editors/emacs/ra-emacs-lsp.el index 71bc20f17..2ea106533 100644 --- a/editors/emacs/ra-emacs-lsp.el +++ b/editors/emacs/ra-emacs-lsp.el | |||
@@ -81,7 +81,7 @@ | |||
81 | 81 | ||
82 | (with-eval-after-load 'company-lsp | 82 | (with-eval-after-load 'company-lsp |
83 | ;; company-lsp provides a snippet handler for rust by default that adds () after function calls, which RA does better | 83 | ;; company-lsp provides a snippet handler for rust by default that adds () after function calls, which RA does better |
84 | (setq company-lsp--snippet-functions (assq-delete-all "rust" company-lsp--snippet-functions))) | 84 | (setq company-lsp--snippet-functions (cl-delete "rust" company-lsp--snippet-functions :key #'car :test #'equal))) |
85 | 85 | ||
86 | ;; join lines | 86 | ;; join lines |
87 | 87 | ||