You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

29 lines
531 B
EmacsLisp

;;; lsp.el --- LSP and autocomplete
;;; Commentary:
;;; LSP and autocomplete configurations
;;; Code:
(use-package eglot)
(use-package yasnippet
:config
(yas-global-mode))
(use-package yasnippet-snippets)
(use-package flycheck
:ensure t
:init
(global-flycheck-mode))
(when (eq system-type 'darwin)
(use-package exec-path-from-shell ; Needed for MacOS with flycheck
:init
(exec-path-from-shell-initialize)))
(use-package company
:init
(global-company-mode))
(use-package helm-lsp)
;;; lsp.el ends here