From 9fe49f4d79279b6c76cec8891185fcb7bf8e3575 Mon Sep 17 00:00:00 2001 From: Sam Date: Sun, 25 Aug 2024 23:27:42 +0100 Subject: [PATCH] added sql-formatter config --- home/common/core/nixvim/plugins/conform.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/home/common/core/nixvim/plugins/conform.nix b/home/common/core/nixvim/plugins/conform.nix index 5a56d03..46c5b31 100644 --- a/home/common/core/nixvim/plugins/conform.nix +++ b/home/common/core/nixvim/plugins/conform.nix @@ -31,4 +31,15 @@ }; }; }; + + home.file.".config/sql-formatter/config.json".text = '' + { + "tabWidth": 2, + "linesBetweenQueries": 1, + "expressionWidth": 88, + "denseOperators": true, + "newlineBeforeSemicolon": true + } + + ''; }