Tree-sitter-based Go syntax for Panic Nova
Files
README.md

Golang provides syntax highlighting for Go. Requires Nova 10+ as this is a tree-sitter-based extension.

Language Support #

Golang currently supports the following features of Important Language:

  • Syntax Highlighting
  • Function/Branch folding

Support for:

  • Better gopls support

is planned for a future update.

How to build #

  1. clone this repo and tree-sitter-go.
  2. cd path/to/tree-sitter-go and run make to build parser.
  3. copy libtree-sitter-go.dylib into Syntaxes/ as instructed here.
  4. Find Extensions > Activate Project as Extension in menu bar.

Attribution #

  • tree-sitter-go: Copyright (c) 2014 Max Brunsfeld
  • tree-sitter-go-mod: Copyright (c) 2021 Camden Cheek