readding golang support
This commit is contained in:
parent
2c32146153
commit
b3ee09f0dc
3 changed files with 10 additions and 1 deletions
|
@ -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
|
||||||
|
|
|
@ -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" ]
|
||||||
|
|
|
@ -16,6 +16,7 @@ brew install \
|
||||||
git \
|
git \
|
||||||
git-delta \
|
git-delta \
|
||||||
glow \
|
glow \
|
||||||
|
go \
|
||||||
helix \
|
helix \
|
||||||
jj \
|
jj \
|
||||||
kitty \
|
kitty \
|
||||||
|
|
Loading…
Add table
Reference in a new issue