Our great sponsors
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
I remember TJ doing something like this just with rust, so you could probably take som inspiration from that to do it with go: https://github.com/tjdevries/config_manager/blob/master/xdg_config/nvim/after/plugin/sql_rust_automagic.lua
You could use Neoformat, and manually run :NeoFormat! pgFormater on a visual selection or create an autocmd to do the same automatically on save.
I wrote up a quick plugin for this: pg_go This plugin is pretty barebones, so feel free to add any features or options if you like.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.