summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xemacs.org5
1 files changed, 4 insertions, 1 deletions
diff --git a/emacs.org b/emacs.org
index 9f1423a..0ee1358 100755
--- a/emacs.org
+++ b/emacs.org
@@ -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)