mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
chore(lang): tweak company-mode idle-delay for Go
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
:custom
|
||||
(company-begin-commands '(self-insert-command))
|
||||
(company-dabbrev-downcase nil)
|
||||
(company-echo-delay 0)
|
||||
(company-idle-delay 0.15)
|
||||
(company-echo-delay 0.01)
|
||||
(company-idle-delay 0.2)
|
||||
(company-minimum-prefix-length 2)
|
||||
(company-tooltip-limit 20)
|
||||
;; invert the navigation direction if the the completion popup-isearch-match
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
(defun siren-go-mode-setup ()
|
||||
(setq-local tab-width 4
|
||||
company-echo-delay 0.5
|
||||
company-minimum-prefix-length 1
|
||||
whitespace-style (delete 'indentation whitespace-style))
|
||||
|
||||
|
||||
@@ -31,6 +31,7 @@
|
||||
(lsp-enable-symbol-highlighting t)
|
||||
(lsp-enable-xref t)
|
||||
(lsp-headerline-breadcrumb-enable t)
|
||||
(lsp-idle-delay 0.4)
|
||||
(lsp-keymap-prefix "M-;")
|
||||
(lsp-lens-enable t)
|
||||
(lsp-modeline-diagnostics-enable t)
|
||||
@@ -46,7 +47,7 @@
|
||||
|
||||
:init
|
||||
(defun siren-lsp-mode-setup ()
|
||||
(setq-local company-idle-delay 0.3
|
||||
(setq-local company-idle-delay 0.1
|
||||
company-minimum-prefix-length 1))
|
||||
|
||||
:config
|
||||
|
||||
Reference in New Issue
Block a user