mirror of
https://codeberg.org/scip/dot-emacs.git
synced 2025-12-17 04:20:57 +01:00
using require
This commit is contained in:
25
lisp/init-lsp.el
Normal file
25
lisp/init-lsp.el
Normal file
@@ -0,0 +1,25 @@
|
||||
;; LSP mode
|
||||
(use-package lsp-mode
|
||||
:config
|
||||
(lsp-register-custom-settings
|
||||
'(("gopls.completeUnimported" t t)
|
||||
("gopls.staticcheck" t t)))
|
||||
|
||||
;; disable infantile nonsense
|
||||
(setq lsp-headerline-breadcrumb-enable nil)
|
||||
(setq lsp-modeline-code-actions-enable nil)
|
||||
|
||||
:init
|
||||
;; I'm not using any of th lsp commands, but better define a prefix
|
||||
;; than being unable to reach it
|
||||
(setq lsp-keymap-prefix "C-c C-l")
|
||||
|
||||
:commands lsp)
|
||||
|
||||
;; I use ivy
|
||||
(use-package lsp-ivy
|
||||
:commands lsp-ivy-global-workspace-symbol)
|
||||
|
||||
|
||||
(provide 'init-lsp)
|
||||
;;; init-lsp.el ends here
|
||||
Reference in New Issue
Block a user