cmp-dbee
cmp-dbee copied to clipboard
feature - remove schema name from table name completion
Description
- I have two databases in one mysql server. One is regular database, while the other one is a test database. I have two separate connections created for them. Since the completion is returning the schema name it can be frustrating since I have the same table names in both of them. I already manage the connections with a keybind in neovim so I can easily know to which one I'm connected to. It would be awesome if there is a config not create the completion item with
schema.tableformat but just usetable.
Feel free to checkout the v2 branch if that helps!
@MattiasMTS That is working! Thanks! Couple of notes:
- In order to enable it in the
nvim-cmpthe source is now calleddbeeinstead ofcmp-dbee. - It would be awesome if the list is filtered against the current connected schema so you don't get double table names in the list. Currently it will list every table from every database instead of only the connected one.