(use-package company :commands company-mode :diminish company-mode :config (global-company-mode) (setq company-global-modes '(not term-mode) company-idle-delay 0.3 company-minimum-prefix-length 3 company-selection-wrap-around t company-show-numbers t company-tooltip-align-annotations t company-require-match nil)) (use-package lsp-mode :config (setq lsp-response-timeout 10)) (use-package lsp-ui :init (add-hook 'lsp-mode-hook 'lsp-ui-mode)) (use-package company-lsp) (provide 'module-autocomplete)