dev: Add lsp config
Add configuration for the lsp-mode and Rust.
This commit is contained in:
parent
9a0627bad0
commit
d80f02e008
1 changed files with 13 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue