about summary refs log tree commit diff
path: root/dotfiles
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-02-24 01:15:47 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-02-24 01:15:47 +0100
commit9dd6a30417267033778aa720e495961b2cc3230b (patch)
tree2209829f9eb774680dfb2525a5c47fa4befbeaff /dotfiles
parentDotfiles: Emacs: Lsp-mode instead of eglot (diff)
downloadnixos-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.new18
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