vim-dadbod-ui icon indicating copy to clipboard operation
vim-dadbod-ui copied to clipboard

Can you make the query file .sql extension

Open tin-pham opened this issue 3 years ago • 3 comments

On the left that is psql client \e, on the right that is query file generated by dadbodui (normal text file) image

psql \e image dadbod UI image

tin-pham avatar Dec 26 '21 10:12 tin-pham

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jan 26 '22 06:01 stale[bot]

I don't necessarily need the extension to be .sql, but setting the filetype to sql would be helpful. I currently set the filetype manually.

walkabout21 avatar Aug 11 '23 12:08 walkabout21

I don't necessarily need the extension to be .sql, but setting the filetype to sql would be helpful. I currently set the filetype manually.

This should already be happening. What filetype do you get ? Try echo &filetype once you open up the query to get value.

kristijanhusak avatar Sep 14 '23 10:09 kristijanhusak