AutoYADM commit: 2025-04-05 14:45:07

This commit is contained in:
Daniel Fichtinger 2025-04-05 14:45:07 -04:00
parent 0b615a6f7a
commit 8219ec0917
2 changed files with 21 additions and 3 deletions

View file

@ -0,0 +1,18 @@
[[sources]]
name = "friendly-snippets"
git = "https://github.com/rafamadriz/friendly-snippets.git"
[[sources.paths]]
scope = ["python"]
path = "snippets/python/python.json"
[[sources.paths]]
scope = ["rust"]
path = "snippets/rust/rust.json"
[[sources.paths]]
scope = ["markdown"]
path = "snippets/markdown.json"
[[sources.paths]]
scope = ["go"]
path = "snippets/go.json"
[[sources.paths]]
path = "snippets/loremipsum.json"

View file

@ -235,7 +235,7 @@ source = { git = "https://github.com/ficcdaf/tree-sitter-mail", rev = "8e60f38ef
[[language]]
name = "python"
language-servers = ["basedpyright"]
language-servers = ["basedpyright", "scls"]
auto-format = true
# formatter = { command = "ruff", args = ["format", "-"] }
formatter = { command = "ruff", args = ["format", "--line-length", "79", "-"] }
@ -259,10 +259,10 @@ auto-format = true
formatter = { command = "goimports" }
comment-token = "//"
block-comment-tokens = { start = "/*", end = "*/" }
language-servers = ["gopls", "typos-lsp"]
language-servers = ["gopls", "typos-lsp", "scls"]
# TODO: gopls needs utf-8 offsets?
indent = { tab-width = 4, unit = "\t" }
[[language]]
name = "git-commit"
language-servers = [ "scls" ]
language-servers = ["scls"]