How do I execute `:GoFmt` on Go file save?

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

Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
  • go.nvim

    A feature-rich Go development plugin, leveraging gopls, treesitter AST, Dap, and various Go tools to enhance the dev experience.

  • To clarify, I want https://github.com/ray-x/go.nvim ability to invoke golines when formatting. Now I want to replace the default format on save with :GoFmt for Go files. (Already verified that invoking the command manually does what I need.)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
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