You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
626 B

4 weeks ago
  1. return {
  2. 'kristijanhusak/vim-dadbod-ui',
  3. dependencies = {
  4. { 'tpope/vim-dadbod', lazy = true },
  5. { 'kristijanhusak/vim-dadbod-completion', ft = { 'sql', 'mysql', 'plsql' }, lazy = true }, -- Optional
  6. },
  7. cmd = {
  8. 'DBUI',
  9. 'DBUIToggle',
  10. 'DBUIAddConnection',
  11. 'DBUIFindBuffer',
  12. },
  13. init = function()
  14. -- Your DBUI configuration
  15. vim.g.db_ui_use_nerd_fonts = 1
  16. vim.g.db_ui_auto_execute_table_helpers = 1
  17. vim.g.dbs = {
  18. dev = 'mariadb://jack:secret@localhost:33061/jack?ssl=false',
  19. }
  20. end,
  21. }