DB IDE inside neovim

This commit is contained in:
Afonso Franco 2023-06-03 23:32:54 +01:00
parent 430e2a1c12
commit 8128cac51e
Signed by: afonso
SSH key fingerprint: SHA256:JiuxZNdA5bRWXPMUJChI0AQ75yC+cXY4xM0IaVwEVys
3 changed files with 18 additions and 6 deletions

View file

@ -37,6 +37,12 @@ lazy.setup({
'tpope/vim-obsession',
'tpope/vim-fugitive',
--Database integration
'tpope/vim-dadbod',
'kristijanhusak/vim-dadbod-ui',
'mbbill/undotree',
--Tmux navigation
{
'alexghergh/nvim-tmux-navigation',

View file

@ -1,13 +1,16 @@
local null_ls = require("null-ls")
null_ls.setup({
sources = {
null_ls.builtins.formatting.rustfmt,
sources = {
null_ls.builtins.formatting.rustfmt,
null_ls.builtins.formatting.stylish_haskell,
null_ls.builtins.formatting.fourmolu,
null_ls.builtins.formatting.blue,
null_ls.builtins.formatting.prettierd.with({
filetypes = { "html", "json", "yaml", "markdown" },
}),
}
null_ls.builtins.formatting.sql_formatter.with({
extra_args = { "--config", "/home/afonso/.config/nvim/lua/plugins/sql_formatter.json"}
}),
null_ls.builtins.formatting.prettierd.with({
filetypes = { "html", "json", "yaml", "markdown" },
}),
}
})

View file

@ -0,0 +1,3 @@
{
"keywordCase": "upper"
}