Format SQL string on save in Go file

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. config_manager

    My configuration files and tools

    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

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. neoformat

    :sparkles: A (Neo)vim plugin for formatting code.

    You could use Neoformat, and manually run :NeoFormat! pgFormater on a visual selection or create an autocmd to do the same automatically on save.

  4. pg_go

    Postgresql formatter within .go files

    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.

Suggest a related project

Related posts

  • formatting Lua code

    1 project | /r/AstroNvim | 24 Apr 2023
  • what is the nvim lsp equivalent to ale's :ALEFix ?

    2 projects | /r/neovim | 21 Mar 2023
  • Does diagnostic-ls, efm-ls, and null-ls basically do the same thing?

    3 projects | /r/neovim | 26 Jul 2022
  • How to use ESLINT formatter in neovim like vscode?

    2 projects | /r/neovim | 7 Jul 2022
  • Vim 2022: format your code in real-time !!

    3 projects | dev.to | 13 Dec 2021

Did you know that Lua is
the 18th most popular programming language
based on number of references?