kristijanhusak / vim-dadbod-ui

Simple UI for https://github.com/tpope/vim-dadbod
MIT License
1.53k stars 92 forks source link

Results listing seems to get folder by default if only 1 entry/row #265

Closed mxaddict closed 3 months ago

mxaddict commented 3 months ago

Looks like this: image

Is there a way to get this to not happen?

mxaddict commented 3 months ago

Nvm, I think I can fix this with:

vim.api.nvim_create_autocmd("FileType", {
  pattern = "dbout",
  callback = function()
    vim.opt_local.foldenable = false
  end,
})