Add fancy lsp and treemacs shit
This commit is contained in:
@@ -331,7 +331,8 @@
|
|||||||
treemacs-persist-file (expand-file-name ".cache/treemacs-persist" user-emacs-directory)
|
treemacs-persist-file (expand-file-name ".cache/treemacs-persist" user-emacs-directory)
|
||||||
treemacs-width 40
|
treemacs-width 40
|
||||||
treemacs-project-follow-cleanup t)
|
treemacs-project-follow-cleanup t)
|
||||||
(treemacs-follow-mode t))
|
(treemacs-follow-mode t)
|
||||||
|
(treemacs-load-theme "doom-atom"))
|
||||||
:bind
|
:bind
|
||||||
(:map global-map
|
(:map global-map
|
||||||
("C-x t t" . treemacs)))
|
("C-x t t" . treemacs)))
|
||||||
@@ -367,6 +368,15 @@
|
|||||||
(python-mode . lsp)
|
(python-mode . lsp)
|
||||||
(haskell-mode . lsp))
|
(haskell-mode . lsp))
|
||||||
|
|
||||||
|
;; fancy shit for lsp in treemacs
|
||||||
|
(use-package lsp-treemacs
|
||||||
|
:ensure t
|
||||||
|
:init
|
||||||
|
(lsp-treemacs-sync-mode 1)
|
||||||
|
:bind
|
||||||
|
(:map global-map
|
||||||
|
("C-x t s" . lsp-treemacs-symbols)))
|
||||||
|
|
||||||
;; Ui integration for Lsp
|
;; Ui integration for Lsp
|
||||||
(use-package lsp-ui
|
(use-package lsp-ui
|
||||||
:ensure t
|
:ensure t
|
||||||
|
|||||||
Reference in New Issue
Block a user