summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
authorMatthew Kosarek <matt.kosarek@canonical.com>2025-04-23 09:49:47 -0400
committerMatthew Kosarek <matt.kosarek@canonical.com>2025-04-23 09:49:47 -0400
commit38b67473140c8ff94d33c8e652496641390adb43 (patch)
treef85c5519dbba02d282957e3c0c8744bb9d7362ce /lisp
parented4fb4672a92ba573e12756243653ef62c923fec (diff)
Disable company quick help, bugfixing jsonrpc slowdownHEADmaster
Diffstat (limited to 'lisp')
-rw-r--r--lisp/general.el22
1 files changed, 14 insertions, 8 deletions
diff --git a/lisp/general.el b/lisp/general.el
index 17b2631..884003a 100644
--- a/lisp/general.el
+++ b/lisp/general.el
@@ -65,6 +65,9 @@
;; Line highlighting
(global-hl-line-mode 1)
+;; Set delay to 0
+(setq show-paren-delay 0)
+
;; Line selection color
(set-face-attribute 'region nil :background "#3b3911")
@@ -240,16 +243,18 @@
company-tooltip-limit 10
company-backends '((company-capf company-gtags company-elisp company-css company-dabbrev company-nxml))
company-dabbrev-downcase nil
+ company-idle-delay nil
)
+ (define-key company-mode-map (kbd "M-c") #'company-complete)
)
-(use-package company-quickhelp
- :ensure t
- :defer t
- :init (company-quickhelp-mode 1)
- :config
- (setq company-quickhelp-color-background (face-attribute 'default :background))
- )
+;; (use-package company-quickhelp
+;; :ensure t
+;; :defer t
+;; :init (company-quickhelp-mode 1)
+;; :config
+;; (setq company-quickhelp-color-background (face-attribute 'default :background))
+;; )
;; Eglot
(use-package eglot
@@ -261,7 +266,8 @@
(add-to-list 'eglot-server-programs '((c++-mode c-mode) "clangd-18"))
(add-to-list 'eglot-server-programs `((dart-mode) "/home/matthew/Github/flutter/bin/dart" "language-server"))
(add-hook 'c-mode-common-hook 'eglot-ensure)
- (add-hook 'dart-mode-hook 'eglot-ensure))
+ (add-hook 'dart-mode-hook 'eglot-ensure)
+ (advice-add 'jsonrpc--log-event :override #'ignore))
;; (set-face-underline 'eglot-highlight-symbol-face t)