diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-02-24 01:15:47 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2024-02-24 01:15:47 +0100 |
commit | 9dd6a30417267033778aa720e495961b2cc3230b (patch) | |
tree | 2209829f9eb774680dfb2525a5c47fa4befbeaff /dotfiles | |
parent | Dotfiles: Emacs: Lsp-mode instead of eglot (diff) | |
download | nixos-config-9dd6a30417267033778aa720e495961b2cc3230b.tar.gz nixos-config-9dd6a30417267033778aa720e495961b2cc3230b.tar.bz2 nixos-config-9dd6a30417267033778aa720e495961b2cc3230b.zip |
Dotfiles: Emacs: Improve lsp mode
Diffstat (limited to 'dotfiles')
-rw-r--r-- | dotfiles/.emacs.new | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/dotfiles/.emacs.new b/dotfiles/.emacs.new index 2089dd9..338c4c9 100644 --- a/dotfiles/.emacs.new +++ b/dotfiles/.emacs.new @@ -99,7 +99,9 @@ (use-package company :ensure t -) + :config + (setq company-minimum-prefix-length 1) + (setq company-idle-delay 0.0)) (use-package company-box :ensure t @@ -114,10 +116,14 @@ (define-key copilot-completion-map (kbd "TAB") 'copilot-accept-completion)) (use-package lsp-mode - :ensure t) + :ensure t + :config + (setq lsp-headerline-breadcrumb-enable nil)) (use-package lsp-ui - :ensure t) + :ensure t + :config + (setq lsp-ui-doc-show-with-cursor nil)) (use-package rustic :ensure t @@ -127,4 +133,8 @@ (use-package go-mode :ensure t :init - (add-hook 'go-mode-hook 'lsp-deferred)) \ No newline at end of file + (add-hook 'go-mode-hook 'lsp-deferred)) + +(eval-after-load 'dired + '(evil-define-key 'normal dired-mode-map [mouse-2] 'dired-mouse-find-file) +) \ No newline at end of file |