🐛 fix(nvim): sql extra now imports sql from lazyvim correctly
This commit is contained in:
parent
dfcca88c1e
commit
82bb150787
1 changed files with 1 additions and 31 deletions
|
@ -1,37 +1,7 @@
|
||||||
local sql_ft = { "sql", "mysql", "plsql" }
|
|
||||||
local prefix = "<leader>D"
|
local prefix = "<leader>D"
|
||||||
|
|
||||||
return {
|
return {
|
||||||
{ import = "lazyvim.plugins.extras.lang.python" },
|
{ import = "lazyvim.plugins.extras.lang.sql" },
|
||||||
{
|
|
||||||
"kristijanhusak/vim-dadbod-ui",
|
|
||||||
dependencies = {
|
|
||||||
{ "jsborjesson/vim-uppercase-sql", ft = sql_ft },
|
|
||||||
},
|
|
||||||
keys = {
|
|
||||||
{ prefix .. "a", "<cmd>DBUIAddConnection<cr>", desc = "Add Connection" },
|
|
||||||
{ prefix .. "u", "<cmd>DBUIToggle<cr>", desc = "Toggle UI" },
|
|
||||||
{ prefix .. "f", "<cmd>DBUIFindBuffer<cr>", desc = "Find Buffer" },
|
|
||||||
{ prefix .. "r", "<cmd>DBUIRenameBuffer<cr>", desc = "Rename Buffer" },
|
|
||||||
{ prefix .. "q", "<cmd>DBUILastQueryInfo<cr>", desc = "Last Query Info" },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"folke/which-key.nvim",
|
|
||||||
opts = {
|
|
||||||
spec = {
|
|
||||||
{ prefix, group = "database", icon = " " },
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"williamboman/mason.nvim",
|
|
||||||
opts = {
|
|
||||||
ensure_installed = {
|
|
||||||
"sqlls",
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"neovim/nvim-lspconfig",
|
"neovim/nvim-lspconfig",
|
||||||
opts = {
|
opts = {
|
||||||
|
|
Loading…
Add table
Reference in a new issue