diff options
-rwxr-xr-x | emacs.org | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -515,13 +515,16 @@ Fonts and basic appearance settings for each device #+begin_src emacs-lisp (electric-pair-mode 1) (global-flycheck-mode) + (global-set-key (kbd "M-.") 'xref-find-definitions) (require 'company) (add-hook 'after-init-hook 'global-company-mode) (define-key company-active-map (kbd "TAB") 'company-indent-or-complete-common) + (setq company-idle-delay + (lambda () (if (company-in-string-or-comment) nil 0.0))) (require 'company-box) - (add-hook 'company-mode 'company-box-mode) + (add-hook 'company-mode-hook 'company-box-mode) (require 'dap-mode) (dap-ui-mode) |