summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoryuzu-eva <stevenhu@web.de>2023-11-06 22:27:52 +0100
committeryuzu-eva <stevenhu@web.de>2023-11-06 22:27:52 +0100
commit51530cec2a5c20244ef8779ad66ee5105e86ab69 (patch)
treeea72374c899b9e0fc82ddc4b98ce4acbb0a8563d
parent55f309716fabfc15d6b37ed99116bf75a374468e (diff)
commented lsp-mode and lua-mode. company should be enough.
-rw-r--r--config.org50
1 files changed, 25 insertions, 25 deletions
diff --git a/config.org b/config.org
index 18b6ec0..1fd94e3 100644
--- a/config.org
+++ b/config.org
@@ -624,35 +624,35 @@ Autocompletion backend for C and C++
(add-hook 'irony-mode-hook 'irony-cdb-autosetup-compile-options))
#+end_src
-** Initialize =lsp-mode=
+# ** Initialize =lsp-mode=
-Lsp-mode for autocompletion
+# Lsp-mode for autocompletion
-#+begin_src emacs-lisp
- (use-package lsp-mode
- :ensure t
- :defer t
- :commands lsp
- :hook
- (lsp-mode . (lambda ()
- (let ((lsp-keymap-prefix "C-c l"))
- (lsp-enable-which-key-integration))))
- (sh-mode . lsp)
- (lua-mode . lsp)
- :config
- (define-key lsp-mode-map (kbd "C-c l") lsp-command-map))
-#+end_src
+# #+begin_src emacs-lisp
+# (use-package lsp-mode
+# :ensure t
+# :defer t
+# :commands lsp
+# :hook
+# (lsp-mode . (lambda ()
+# (let ((lsp-keymap-prefix "C-c l"))
+# (lsp-enable-which-key-integration))))
+# (sh-mode . lsp)
+# (lua-mode . lsp)
+# :config
+# (define-key lsp-mode-map (kbd "C-c l") lsp-command-map))
+# #+end_src
-** Initialize =lua-mode=
+# ** Initialize =lua-mode=
-#+begin_src emacs-lisp
- (use-package lua-mode
- :ensure t
- :config
- (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
- (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
- (add-to-list 'interpreter-mode-alist '("lua" . lua-mode)))
-#+end_src
+# #+begin_src emacs-lisp
+# (use-package lua-mode
+# :ensure t
+# :config
+# (autoload 'lua-mode "lua-mode" "Lua editing mode." t)
+# (add-to-list 'auto-mode-alist '("\\.lua$" . lua-mode))
+# (add-to-list 'interpreter-mode-alist '("lua" . lua-mode)))
+# #+end_src
# ** Configuring =tree-sitter=