Vim Golang syntax is ugly

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

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. vim-go-syntax

    Fast, 'tree-sitter'-like Vim Syntax Highlighting for Go

    Maybe you could try https://github.com/charlespascoe/vim-go-syntax. This might provide an improved syntax highlighting for GO.

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. YouCompleteMe

    A code-completion engine for Vim

    There are plugins to do semantic highlighting. I don't use any of them because I'm satisfied with Vim's native syntax highlighting and with tree-sitter (and also because I don't use LSPs), but searching for "Vim semantic highlighting" on DuckDuckGo yields this: https://github.com/ycm-core/YouCompleteMe. The highlighting used in its demo is too baroque for my taste, but looking at your VSCode screenshot, it looks like it would be right up your alley.

  4. vim-lsp

    async language server protocol plugin for vim and neovim

    You need to configure a language server. For C++ it's a bit tricky, so good luck with Go. There are other plugins that provide semantic highlighting using LSP, for example https://github.com/prabirshrestha/vim-lsp (I didn't try it, but it seems good).

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

  • What's your Golang IDE?

    4 projects | /r/golang | 25 Feb 2022
  • Mastering Golang Debugging in Emacs

    15 projects | dev.to | 29 Nov 2024
  • Error handling in Go web apps shouldn't be so awkward

    4 projects | news.ycombinator.com | 9 Jan 2024
  • GoImports Reviser

    1 project | /r/golang | 6 Sep 2023
  • vim-go debugging

    1 project | /r/neovim | 20 May 2023

Did you know that Vim Script is
the 35th most popular programming language
based on number of references?