Fixed emacs lsp

pull/2/head
E. Almqvist 2 years ago
parent 19bff80b09
commit e1af8fbfd2
No known key found for this signature in database
GPG Key ID: E31A99CE3E75A158
  1. 13
      emacs/.config/emacs/init.el

@ -46,9 +46,9 @@
'(elcord-quiet t) '(elcord-quiet t)
'(elcord-use-major-mode-as-main-icon t) '(elcord-use-major-mode-as-main-icon t)
'(evil-undo-system 'undo-redo) '(evil-undo-system 'undo-redo)
'(lsp-rust-server 'rls) '(lsp-rust-server 'rust-analyzer)
'(package-selected-packages '(package-selected-packages
'(scss-mode yaml-mode ligature evil-smartparens smartparens web-mode sublimity typescript-mode glsl-mode format-all hl-todo elcord evil-tabs evil-commentary format-all auto-complete editorconfig haskell-mode counsel ivy go-mode rust-mode use-package treemacs-evil treemacs projectile doom-themes lsp-mode evil))) '(lsp-ui company flycheck scss-mode yaml-mode ligature evil-smartparens smartparens web-mode sublimity typescript-mode glsl-mode format-all hl-todo elcord evil-tabs evil-commentary format-all auto-complete editorconfig haskell-mode counsel ivy go-mode rust-mode use-package treemacs-evil treemacs projectile doom-themes lsp-mode evil)))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
@ -161,3 +161,12 @@
(setq use-dialog-box nil) (setq use-dialog-box nil)
(global-auto-revert-mode 1) (global-auto-revert-mode 1)
;; LSP ui
(use-package lsp-ui
:ensure
:commands lsp-ui-mode
:custom
(lsp-ui-peek-always-show t)
(lsp-ui-sideline-show-hover t)
(lsp-ui-doc-enable nil))

Loading…
Cancel
Save