From 3512fa79fd9858a738c254f2518fcb7692834b10 Mon Sep 17 00:00:00 2001 From: alex-eg Date: Thu, 26 Dec 2019 09:38:19 +0300 Subject: [PATCH] Add more lsp configuration * Disable yasnippet integration * Disable file watch threshold --- emacs/.emacs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/emacs/.emacs b/emacs/.emacs index 60a7fb2..73c3a6f 100755 --- a/emacs/.emacs +++ b/emacs/.emacs @@ -104,8 +104,9 @@ ;;; LSP (use-package lsp-mode :commands lsp - :init - (add-hook 'rust-mode-hook #'lsp)) + :init (add-hook 'rust-mode-hook #'lsp) + :config (setq lsp-enable-snippet nil + lsp-file-watch-threshold nil)) (use-package lsp-ui :commands lsp-ui-mode