diff options
Diffstat (limited to 'org/emacs.org')
-rwxr-xr-x | org/emacs.org | 42 |
1 files changed, 22 insertions, 20 deletions
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 |