Vim Golang syntax is ugly

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

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.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • 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.

  • 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.

  • 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
  • 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
  • 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
  • Golang: is it possible to show interfaces in another color?

    1 project | /r/vim | 11 May 2023