11 2024 档案
emacs使用lsp-copilot作为lsp-client添加新语言的lsp配置
摘要:配置文件可以参考helix的lsp配置文件helix/languages.toml at master · helix-editor/helix 例如添加go的lsp配置 使用M-x lsp-copilot-open-config-file打开配置文件 [language-server.gopls]
emacs go-mode
摘要:pipx install semgrep GO111MODULE=on CGO_ENABLED=0 go install -v -trimpath -ldflags '-s -w' github.com/golangci/golangci-lint/cmd/golangci-lint@latest