From f8e0a6bcdce27e7dc964f0d12612b254f0b29fc4 Mon Sep 17 00:00:00 2001
From: Gustaf Rydholm <gustaf.rydholm@gmail.com>
Date: Thu, 26 Dec 2024 00:04:38 +0100
Subject: Add sql fmt and lsp

---
 fnl/plugins/conform.fnl     | 2 +-
 fnl/plugins/lsp/servers.fnl | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/fnl/plugins/conform.fnl b/fnl/plugins/conform.fnl
index cf9938e..b1b15ba 100644
--- a/fnl/plugins/conform.fnl
+++ b/fnl/plugins/conform.fnl
@@ -25,7 +25,7 @@
                                 :python [:ruff_format :ruff_fix :ruff_organize_imports]
                                 :rust [:rustfmt]
                                 :sh [:shfmt :shellharden]
-                                :sql [:pg_format]
+                                :sql [:pg_format :sqlfmt]
                                 :toml [:taplo]
                                 :yaml [:yamlfmt]}})
 
diff --git a/fnl/plugins/lsp/servers.fnl b/fnl/plugins/lsp/servers.fnl
index 9f5cfcf..fea4e89 100644
--- a/fnl/plugins/lsp/servers.fnl
+++ b/fnl/plugins/lsp/servers.fnl
@@ -26,6 +26,7 @@
  :taplo {}
  :texlab {}
  :vale_ls {:filetypes [:markdown :text :org]}
+ :sqls {}
  :yamlls {:settings {:yaml {:schemastore {:enable false :url ""}
                             :schemas (let [schemastore (require :schemastore)]
                                        (schemastore.yaml.schemas))}}}}
-- 
cgit v1.2.3-70-g09d2