From bdac54ac2892b6d05d6647329a50e69cb318023b Mon Sep 17 00:00:00 2001 From: 10sr <8.slashes@gmail.com> Date: Tue, 31 Oct 2023 14:36:51 +0900 Subject: [PATCH] Disable sqlind --- emacs.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/emacs.el b/emacs.el index 574c6a2..d8dc9fc 100644 --- a/emacs.el +++ b/emacs.el @@ -1841,9 +1841,11 @@ ORIG-FUNC is the target function, and ARGS is the argument when it is called." '(setq reb-re-syntax 'foreign-regexp) )) -(with-eval-after-load 'sql - (require 'sql-indent nil t)) -(set-variable 'sqlind-basic-offset 4) +;; sqlind does not support create role so disable it... +(set-variable 'sql-use-indent-support nil) +;; (with-eval-after-load 'sql +;; (require 'sql-indent nil t)) +;; (set-variable 'sqlind-basic-offset 4) (add-to-list 'auto-mode-alist '("\\.hql\\'" . sql-mode)) (set-variable 'sql-product 'postgres)