|
|
|
@ -28,6 +28,13 @@ There are two things you can do about this warning:
|
|
|
|
|
(when (not package-archive-contents) |
|
|
|
|
(package-refresh-contents)) |
|
|
|
|
|
|
|
|
|
;; Bootstrap use-package if it doesn't exist |
|
|
|
|
(when (not (package-installed-p 'use-package)) |
|
|
|
|
(package-refresh-contents) |
|
|
|
|
(package-install 'use-package)) |
|
|
|
|
|
|
|
|
|
(require 'use-package) |
|
|
|
|
|
|
|
|
|
;; Load the package.el file |
|
|
|
|
(load-file "~/.emacs.d/package.el") |
|
|
|
|
|
|
|
|
@ -200,20 +207,14 @@ There are two things you can do about this warning:
|
|
|
|
|
|
|
|
|
|
;; LSP |
|
|
|
|
(use-package lsp-mode |
|
|
|
|
:ensure t |
|
|
|
|
:config |
|
|
|
|
(setq lsp-print-io nil) |
|
|
|
|
|
|
|
|
|
(use-package lsp-ui |
|
|
|
|
:ensure t |
|
|
|
|
:config |
|
|
|
|
(setq lsp-ui-sideline-ignore-duplicate t) |
|
|
|
|
(add-hook 'lsp-mode-hook 'lsp-ui-mode)) |
|
|
|
|
|
|
|
|
|
(use-package company-lsp |
|
|
|
|
:ensure t |
|
|
|
|
:config |
|
|
|
|
(push 'company-lsp company-backends))) |
|
|
|
|
:ensure t |
|
|
|
|
:hook (python-mode . lsp-deferred) |
|
|
|
|
:commands (lsp lsp-deferred)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(use-package lsp-ui |
|
|
|
|
:ensure t |
|
|
|
|
:hook (lsp-mode . lsp-ui-mode)) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
;;;;; PYTHON ;;;;;;;;;;;;;;;;;; |
|
|
|
|