This commit is contained in:
LZX committed 2026-09-23 18:36:36 +08:00
1 parent f99d09c7f6
commit deb510d4f5
12 files changed
+507 -32

No files matched your search

+12
View File
@@ -486,6 +486,18 @@ class LspLanguageConfig {
'apt-get update && apt-get install -y --no-install-recommends npm && npm install -g @bufbuild/buf && ln -sf \$(which buf) /usr/local/bin/bufls',
enabled: true,
),
const LspLanguageConfig(
id: 'mcfunction',
name: 'Minecraft Function',
languageId: 'mcfunction',
fileExtensions: ['.mcfunction'],
serverCommand: 'spyglassmc',
serverArgs: ['--stdio'],
package: '@spyglassmc/language-server',
installCommand:
'apt-get update && apt-get install -y --no-install-recommends nodejs npm && npm install -g @spyglassmc/language-server',
enabled: true,
),
];
/// 保持向后兼容别名