DB IDE inside neovim
This commit is contained in:
parent
430e2a1c12
commit
8128cac51e
3 changed files with 18 additions and 6 deletions
|
@ -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',
|
||||
|
|
|
@ -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" },
|
||||
}),
|
||||
}
|
||||
})
|
||||
|
|
3
.config/nvim/lua/plugins/sql_formatter.json
Normal file
3
.config/nvim/lua/plugins/sql_formatter.json
Normal file
|
@ -0,0 +1,3 @@
|
|||
{
|
||||
"keywordCase": "upper"
|
||||
}
|
Loading…
Reference in a new issue