AutoYADM commit: 2025-03-29 16:45:07
This commit is contained in:
parent
577a6b1b2b
commit
59c4cb0324
1 changed files with 18 additions and 0 deletions
|
@ -226,3 +226,21 @@ name = "kdl"
|
||||||
auto-format = true
|
auto-format = true
|
||||||
# Configure kdlfmt to use stdin
|
# Configure kdlfmt to use stdin
|
||||||
formatter = { command = "kdlfmt", args = ["format", "-"] }
|
formatter = { command = "kdlfmt", args = ["format", "-"] }
|
||||||
|
|
||||||
|
[language-server.typos-lsp]
|
||||||
|
command = "typos-lsp"
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "go"
|
||||||
|
scope = "source.go"
|
||||||
|
injection-regex = "go"
|
||||||
|
file-types = ["go"]
|
||||||
|
roots = ["go.work", "go.mod"]
|
||||||
|
auto-format = true
|
||||||
|
comment-token = "//"
|
||||||
|
block-comment-tokens = { start = "/*", end = "*/" }
|
||||||
|
language-servers = [ "gopls", "golangci-lint-lsp", "typos-lsp" ]
|
||||||
|
# TODO: gopls needs utf-8 offsets?
|
||||||
|
indent = { tab-width = 4, unit = "\t" }
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue