mirror of
https://github.com/fred-drake/neovim.git
synced 2026-06-05 14:59:28 -05:00
Added initial database support
This commit is contained in:
@@ -49,6 +49,11 @@
|
|||||||
group = "Search";
|
group = "Search";
|
||||||
icon = "";
|
icon = "";
|
||||||
}
|
}
|
||||||
|
{
|
||||||
|
__unkeyed-1 = "<leader>D";
|
||||||
|
group = "Database";
|
||||||
|
icon = "";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@@ -101,6 +106,14 @@
|
|||||||
options = { desc = "Toggle tree view"; };
|
options = { desc = "Toggle tree view"; };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Database
|
||||||
|
{
|
||||||
|
mode = "n";
|
||||||
|
key = "<leader>Du";
|
||||||
|
action = "<CMD>DBUI<CR>";
|
||||||
|
options = { desc = "Show Database UI"; };
|
||||||
|
}
|
||||||
|
|
||||||
# LSP Actions
|
# LSP Actions
|
||||||
{
|
{
|
||||||
mode = "n";
|
mode = "n";
|
||||||
|
|||||||
+6
-1
@@ -1,5 +1,10 @@
|
|||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
extraPlugins = [ pkgs.vimPlugins.supermaven-nvim ];
|
extraPlugins = with pkgs; [
|
||||||
|
vimPlugins.supermaven-nvim # AI code completion
|
||||||
|
vimPlugins.vim-dadbod # DB client
|
||||||
|
vimPlugins.vim-dadbod-completion # DB completion
|
||||||
|
vimPlugins.vim-dadbod-ui # DB UI
|
||||||
|
];
|
||||||
|
|
||||||
extraConfigLua = ''
|
extraConfigLua = ''
|
||||||
require("supermaven-nvim").setup({
|
require("supermaven-nvim").setup({
|
||||||
|
|||||||
Reference in New Issue
Block a user