2023-01-18 20:47:14 -05:00
|
|
|
{
|
2023-01-24 13:45:28 -05:00
|
|
|
// Luau - disable Roblox features, enable Lune typedefs & requires
|
|
|
|
"luau-lsp.sourcemap.enabled": false,
|
2023-01-18 20:47:14 -05:00
|
|
|
"luau-lsp.types.roblox": false,
|
2023-01-24 13:45:28 -05:00
|
|
|
"luau-lsp.require.mode": "relativeToFile",
|
2023-03-17 10:44:21 +01:00
|
|
|
// Luau - ignore type defs file in docs dir and dev scripts we use
|
|
|
|
"luau-lsp.ignoreGlobs": [
|
|
|
|
"docs/*.d.luau",
|
2023-03-22 16:42:07 +01:00
|
|
|
"packages/lib-roblox/scripts/*.luau",
|
|
|
|
"tests/roblox/rbx-test-files/**/*.lua",
|
|
|
|
"tests/roblox/rbx-test-files/**/*.luau"
|
2023-03-17 10:44:21 +01:00
|
|
|
],
|
2023-01-24 13:45:28 -05:00
|
|
|
// Rust
|
2023-01-18 21:11:47 -05:00
|
|
|
"rust-analyzer.check.command": "clippy",
|
2023-01-24 13:45:28 -05:00
|
|
|
// Formatting
|
2023-01-18 20:47:14 -05:00
|
|
|
"editor.formatOnSave": true,
|
|
|
|
"stylua.searchParentDirectories": true,
|
|
|
|
"prettier.tabWidth": 2,
|
|
|
|
"[luau][lua]": {
|
|
|
|
"editor.defaultFormatter": "JohnnyMorganz.stylua"
|
|
|
|
},
|
|
|
|
"[json][jsonc][markdown][yaml]": {
|
|
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode"
|
|
|
|
},
|
|
|
|
"[rust]": {
|
|
|
|
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
|
|
|
}
|
|
|
|
}
|