Merge branch 'master' of git.bitlab21.com:sam/nixos

This commit is contained in:
Sam 2024-08-31 10:30:45 +01:00
commit 55d96ce54e
2 changed files with 3 additions and 3 deletions

View File

@ -57,6 +57,7 @@
" ==== dbui
let g:db_ui_hide_schemas = ['pg_catalog', 'pg_toast_temp.*', 'pg_toast']
let g:db_ui_use_nerd_fonts = 1
let g:db_ui_execute_on_save = 0
'';
};
}

View File

@ -25,19 +25,18 @@
};
formatters = {
sql-formatter = {
"inherit" = "false";
command = "sql-formatter";
args = "--config ~/.config/sql-formatter/config.json $FILENAME";
args = "--config ~/.config/sql-formatter/config.json";
};
};
};
home.file.".config/sql-formatter/config.json".text = ''
{
"language": "postgresql",
"tabWidth": 2,
"linesBetweenQueries": 1,
"expressionWidth": 88,
"denseOperators": true,
"newlineBeforeSemicolon": true
}