dotfiles/emacs.d/lsp.el

29 lines
531 B
EmacsLisp
Raw Normal View History

2022-06-06 05:41:46 +02:00
;;; lsp.el --- LSP and autocomplete
;;; Commentary:
;;; LSP and autocomplete configurations
;;; Code:
2022-06-08 16:11:05 +02:00
(use-package eglot)
2022-06-06 05:41:46 +02:00
(use-package yasnippet
:config
(yas-global-mode))
(use-package yasnippet-snippets)
(use-package flycheck
:ensure t
:init
(global-flycheck-mode))
2022-06-13 02:42:29 +02:00
(when (eq system-type 'darwin)
(use-package exec-path-from-shell ; Needed for MacOS with flycheck
:init
(exec-path-from-shell-initialize)))
2022-06-06 05:41:46 +02:00
(use-package company
2022-06-13 02:42:29 +02:00
:init
2022-06-06 05:41:46 +02:00
(global-company-mode))
(use-package helm-lsp)
;;; lsp.el ends here