diff options
-rw-r--r-- | .emacs.d/init.el | 10 | ||||
-rwxr-xr-x | org/emacs.org | 42 |
2 files changed, 28 insertions, 24 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index f2026a2..13a2be9 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -530,12 +530,14 @@ Contains the list of packages that need to be installed.") :after lsp-mode :hook (lsp-mode . company-mode) :bind (:map company-active-map - ("<tab>" . company-complete-selection)) - (:map lsp-mode-map - ("<tab>" . company-indent-or-complete-common)) + ("<tab>" . company-complete-selection)) + (:map lsp-mode-map + ("<tab>" . company-indent-or-complete-common)) :custom (company-minimum-prefix-length 1) - (company-idle-delay 0.0)) + (company-idle-delay 0.0) + :config + (setq global-company-mode t)) (use-package dap-mode :custom diff --git a/org/emacs.org b/org/emacs.org index 84dd09d..acf7447 100755 --- a/org/emacs.org +++ b/org/emacs.org @@ -593,28 +593,30 @@ Hook with ~dired-mode~ * Programming ** Essentials #+begin_src emacs-lisp -(electric-pair-mode 1) -(global-flycheck-mode) - -(use-package company - :after lsp-mode - :hook (lsp-mode . company-mode) - :bind (:map company-active-map - ("<tab>" . company-complete-selection)) - (:map lsp-mode-map - ("<tab>" . company-indent-or-complete-common)) - :custom - (company-minimum-prefix-length 1) - (company-idle-delay 0.0)) + (electric-pair-mode 1) + (global-flycheck-mode) + + (use-package company + :after lsp-mode + :hook (lsp-mode . company-mode) + :bind (:map company-active-map + ("<tab>" . company-complete-selection)) + (:map lsp-mode-map + ("<tab>" . company-indent-or-complete-common)) + :custom + (company-minimum-prefix-length 1) + (company-idle-delay 0.0) + :config + (setq global-company-mode t)) -(use-package dap-mode - :custom - (lsp-enable-dap-auto-configure nil) - :config - (dap-ui-mode 1)) + (use-package dap-mode + :custom + (lsp-enable-dap-auto-configure nil) + :config + (dap-ui-mode 1)) -(use-package company-box - :hook (company-mode . company-box-mode)) + (use-package company-box + :hook (company-mode . company-box-mode)) #+end_src *** Magit #+begin_src emacs-lisp |