chore(lang): tweak company-mode idle-delay for Go

This commit is contained in:
2021-06-17 20:49:26 +01:00
parent 6a690be6ee
commit 4b228ae317
3 changed files with 4 additions and 4 deletions

View File

@@ -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

View File

@@ -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))

View File

@@ -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