From 495fe63341ba06e04d1864c415bbe05df15ece53 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Wed, 27 Jul 2022 14:07:45 +0100 Subject: Add lsp sqls config --- .emacs.d/lisp/init-lsp.el | 2 ++ 1 file changed, 2 insertions(+) (limited to '.emacs.d/lisp/init-lsp.el') 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 -- cgit 1.4.1-2-gfad0