bug: connections file resolving to the wrong place #79

Closed
opened 2026-07-07 15:06:12 -05:00 by noe.trevino · 0 comments
Owner

Did you check docs and existing issues?

  • I have read all the dadbod-ui.nvim docs
  • I have updated the plugin to the latest version before submitting this issue
  • I have searched the existing issues of dadbod-ui.nvim
  • I have searched the existing issues of plugins related to this issue

Neovim version (nvim -v)

.13

Operating system/version

Windows

Describe the bug

 fd connections.json -H
.local\share\db_ui\connections.json
AppData\Local\nvim-data\undo\C%%Users%noe.trevino%AppData%Local%nvim-data%dadbod_ui%connections.json
AppData\Local\nvim-data\dadbod_ui\connections.json

Steps To Reproduce

look for connections files in windows. looks like we hardcoded to the share dir. not good

Expected Behavior

use local nvim-data etc...

Repro

vim.env.LAZY_STDPATH = ".repro"
load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))()

require("lazy.minit").repro({
  spec = {
    { "TheNoeTrevino/dadbod-ui.nvim", dependencies = { "tpope/vim-dadbod" }, opts = {} },
    -- add any other plugins here
  },
})
### Did you check docs and existing issues? - [x] I have read all the dadbod-ui.nvim docs - [x] I have updated the plugin to the latest version before submitting this issue - [x] I have searched the existing issues of dadbod-ui.nvim - [x] I have searched the existing issues of plugins related to this issue ### Neovim version (nvim -v) .13 ### Operating system/version Windows ### Describe the bug ``` bash fd connections.json -H .local\share\db_ui\connections.json AppData\Local\nvim-data\undo\C%%Users%noe.trevino%AppData%Local%nvim-data%dadbod_ui%connections.json AppData\Local\nvim-data\dadbod_ui\connections.json ``` ### Steps To Reproduce look for connections files in windows. looks like we hardcoded to the share dir. not good ### Expected Behavior use local nvim-data etc... ### Repro ```lua vim.env.LAZY_STDPATH = ".repro" load(vim.fn.system("curl -s https://raw.githubusercontent.com/folke/lazy.nvim/main/bootstrap.lua"))() require("lazy.minit").repro({ spec = { { "TheNoeTrevino/dadbod-ui.nvim", dependencies = { "tpope/vim-dadbod" }, opts = {} }, -- add any other plugins here }, }) ```
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
noe.trevino/dadbod-ui.nvim#79
No description provided.