From d80f02e0089e6f2e8230dbddaff17d19828d89d4 Mon Sep 17 00:00:00 2001 From: finga Date: Wed, 15 Nov 2023 11:41:49 +0100 Subject: [PATCH] dev: Add lsp config Add configuration for the lsp-mode and Rust. --- .emacs.d/config/dev.el | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/.emacs.d/config/dev.el b/.emacs.d/config/dev.el index 2e61526..f48f857 100644 --- a/.emacs.d/config/dev.el +++ b/.emacs.d/config/dev.el @@ -41,5 +41,18 @@ (let ((find-program "git-find")) (find-dired dir ""))) +;; python +;; (defun my-shell-mode-hook () +;; (add-hook +;; 'comint-output-filter-functions +;; 'python-pdbtrack-comint-output-filter-function t)) +;; (add-hook 'shell-mode-hook 'my-shell-mode-hook) + ;; enable flyspell checks for comments in code (add-hook 'prog-mode-hook #'flyspell-prog-mode) + +;; language server +(use-package lsp-mode + :ensure t + :config + (add-hook 'rust-mode-hook 'lsp-deferred))