Compare commits

...

2 Commits

Author SHA1 Message Date
Jeremy Dormitzer
5a26dfe408 Fix lsp-mode-map keybinding 2021-02-21 11:37:59 -05:00
Jeremy Dormitzer
2cab13ef1e Make TAB autocomplete 2021-02-21 11:37:47 -05:00

View File

@ -6,6 +6,7 @@
(use-package company
:hook (after-init . global-company-mode)
:config
(setq tab-always-indent 'complete)
(evil-collection-company-setup))
;; Flycheck gives you error squigglies
@ -39,14 +40,17 @@
(rust-mode . lsp-deferred)
(go-mode . lsp-deferred)
(sh-mode . lsp-deferred)
:init
(which-key-add-keymap-based-replacements global-map
"C-c l" '("lsp"))
:config
(add-hook 'lsp-mode-hook #'lsp-enable-which-key-integration)
:custom
(lsp-keymap-prefix "C-c l")
(lsp-headerline-breadcrumb-enable nil)
(lsp-file-watch-threshold 100000)
:general
("C-c l" lsp-mode-map :which-key "lsp"))
:bind-keymap
("C-c l" . lsp-mode-map))
(use-package lsp-ui
:after lsp)