about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-lsp.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-lsp.el')
-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