From f83a4d3a60d59b16fb7fce7e8e65a6685fe79613 Mon Sep 17 00:00:00 2001 From: Grigory Shipunov Date: Fri, 17 Dec 2021 02:32:47 +0100 Subject: [PATCH] lsp improvements --- init.el | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/init.el b/init.el index 3d8dbf5..62ee0b7 100644 --- a/init.el +++ b/init.el @@ -337,10 +337,16 @@ (python-mode . lsp) (LaTeX-mode . lsp) (TeX-mode . lsp) + (ess-r-mode . lsp) (lsp-mode . lsp-enable-which-key-integration)) :commands lsp) (use-package lsp-ui :straight t :commands lsp-ui-mode) +;; snippets +(straight-use-package 'yasnippet) +(yas-global-mode t) +(diminish 'yas-minor-mode) + ;; I use custom vars for local config, so let's put them to separate file, where ;; it's easier for git to ignore it (setq custom-file "~/.emacs.d/custom.el")