summaryrefslogtreecommitdiff
path: root/fnl
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-12-26 00:04:38 +0100
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-12-26 00:04:38 +0100
commitf8e0a6bcdce27e7dc964f0d12612b254f0b29fc4 (patch)
treede8616fc95db17c4c4d8b608a050adc469d542ba /fnl
parent84d31c24f6c8a7a3f5a50af5836d139862cf3c43 (diff)
Add sql fmt and lsp
Diffstat (limited to 'fnl')
-rw-r--r--fnl/plugins/conform.fnl2
-rw-r--r--fnl/plugins/lsp/servers.fnl1
2 files changed, 2 insertions, 1 deletions
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))}}}}