readding golang support

This commit is contained in:
Matthew Ryan Dillon 2025-04-18 17:26:34 -04:00
parent 2c32146153
commit b3ee09f0dc
3 changed files with 10 additions and 1 deletions

View file

@ -58,7 +58,7 @@ check_paths=(
$HOME/bin $HOME/bin
# go # go
/usr/local/go/bin $HOME/go/bin
# pixi # pixi
$HOME/.pixi/bin $HOME/.pixi/bin

View file

@ -42,3 +42,11 @@ formatter = { command = "roc", args =[ "format", "--stdin", "--stdout"]}
name = "roc" name = "roc"
source = { git = "https://github.com/faldor20/tree-sitter-roc.git", rev = "ef46edd0c03ea30a22f7e92bc68628fb7231dc8a" } source = { git = "https://github.com/faldor20/tree-sitter-roc.git", rev = "ef46edd0c03ea30a22f7e92bc68628fb7231dc8a" }
[[language]]
name = "go"
roots = ["go.work", "go.mod"]
auto-format = true
formatter = ["gofmt"]
comment-token = "//"
language-servers = [ "gopls" ]

View file

@ -16,6 +16,7 @@ brew install \
git \ git \
git-delta \ git-delta \
glow \ glow \
go \
helix \ helix \
jj \ jj \
kitty \ kitty \