Watch
1
0
Fork
You've already forked dotfiles
0

Revert "helix: Add snippets"

This reverts commit 92b481038d.

I think simple-completion-language-server (scls) causes Helix to try it
first for all language server things, which it can't provide! I'll try
again once I figure out how Helix handles multiple language servers.
This commit is contained in:
Jeremy Kaplan 2026-10-26 11:13:07 -04:00
commit 41fb5c1bfa
4 changed files with 0 additions and 48 deletions

View file

@ -2,7 +2,6 @@
name = "go"
auto-format = true
formatter = { command = "goimports" }
language-servers = [ "scls", "gopls", "golangci-lint-lsp" ]
[language-server.gopls.config.hints]
assignVariableTypes = false
@ -35,6 +34,3 @@ refresh = "onSave"
[[language]]
name = "python"
auto-format = true
[language-server.scls]
command = "simple-completion-language-server"

View file

@ -1,8 +0,0 @@
[[snippets]]
prefix = 'trun'
description = 't.Run(string, func(t *testing.T))'
body = '''
t.Run("$1", func(t *testing.T) {
${0:t.Fatal("TODO")}
})
'''

View file

@ -1,14 +0,0 @@
[[snippets]]
prefix = 'clog'
description = 'console.log(...)'
body = 'console.log($0)'
[[snippets]]
prefix = 'cdeb'
description = 'console.debug(...)'
body = 'console.debug($0)'
[[snippets]]
prefix = 'cerr'
description = 'console.error(...)'
body = 'console.error($0)'

View file

@ -1,22 +0,0 @@
[[snippets]]
prefix = 'Struct'
description = 'Struct declaration'
body = '''
const $1 = struct {
${0}
};
'''
[[snippets]]
prefix = 'Enum'
description = 'Enum declaration'
body = '''
const $1 = union(enum) {
${0}
};
'''
[[snippets]]
prefix = 'dbg'
description = 'Debug print'
body = 'std.debug.print("$1\n", .{ $0 });'