about summary refs log tree commit diff stats
path: root/.emacs.d/lisp
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-07-27 14:07:45 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-07-27 14:07:45 +0100
commit495fe63341ba06e04d1864c415bbe05df15ece53 (patch)
tree6579a677a91546ffefb5528446678606d6f785f4 /.emacs.d/lisp
parent0ec982db730ff82be5aae02df62f8f89ce4bf5c9 (diff)
downloaddotfiles-495fe63341ba06e04d1864c415bbe05df15ece53.tar.gz
Add lsp sqls config
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r--.emacs.d/lisp/init-lsp.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/.emacs.d/lisp/init-lsp.el b/.emacs.d/lisp/init-lsp.el
index 372e983..75b98cf 100644
--- a/.emacs.d/lisp/init-lsp.el
+++ b/.emacs.d/lisp/init-lsp.el
@@ -24,6 +24,7 @@
   (clojure-mode . lsp)
   (lsp-lens-mode . really-diminish-lsp-lens-mode)
   (lsp-completion-mode . my/lsp-mode-setup-completion)
+  (sql-mode . lsp)
   :config
   (defun really-diminish-lsp-lens-mode ()
     (diminish 'lsp-lens-mode)
@@ -35,6 +36,7 @@
       (setq lsp-keymap-prefix "s-l")
     (setq lsp-keymap-prefix "C-c C-l"))
   (define-key lsp-mode-map (kbd lsp-keymap-prefix) lsp-command-map)
+  (setq lsp-sqls-workspace-config-path nil)
   (setq read-process-output-max (* 1024 1024)
         lsp-log-io nil
         lsp-lens-enable t