Skip to content

Commit 2f9625b

Browse files
committed
chore(vscode): enable file nesting for init.lua and sibling files
1 parent fc4ef74 commit 2f9625b

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

.vscode/settings.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,5 +28,15 @@
2828
},
2929
"chat.tools.terminal.autoApprove": {
3030
"nevermore": true
31-
}
31+
},
32+
33+
// Make init files not horrible
34+
"explorer.fileNesting.enabled": true,
35+
"explorer.fileNesting.patterns": {
36+
"init.lua": "*.lua",
37+
"*": "${basename}.*.${extname}"
38+
},
39+
"workbench.editor.customLabels.patterns": {
40+
"**/init.lua": "${dirname}.lua"
41+
},
3242
}

0 commit comments

Comments
 (0)