summaryrefslogtreecommitdiff
path: root/org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-04-30 09:24:21 +0300
committerThanos Apollo <[email protected]>2023-04-30 09:24:21 +0300
commit2ff3f4c2698f23a2ef6d89f21d18883f5384388b (patch)
tree3a7cebf42d2cbe9ae838d4f8d45af2c91c3b7a6c /org
parent25680a690101ff517b418cc27389a24dd89fd6f5 (diff)
emacs: enable global-company-mode
Diffstat (limited to 'org')
-rwxr-xr-xorg/emacs.org42
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