Skip to content

Commit

Permalink
optmize lsp
Browse files Browse the repository at this point in the history
  • Loading branch information
dej4vu committed Jul 24, 2024
1 parent d30b4f2 commit 91dc6c0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lisp/init-lsp.el
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
;; ))
;;:custom
;;(setq lsp-enable-snippet t)
;;排除'/opt/homebrew'目录下所有文件
(add-to-list 'lsp-file-watch-ignored-directories "[/\\\\]opt/homebrew")

:hook (;; replace XXX-mode with concrete major-mode(e. g. python-mode)
(go-mode . lsp-defered)
(python-mode . lsp-deferred)
Expand Down

0 comments on commit 91dc6c0

Please sign in to comment.