2023-01-19 01:47:14 +00:00
|
|
|
{
|
2023-01-24 18:45:28 +00:00
|
|
|
// Luau - disable Roblox features, enable Lune typedefs & requires
|
|
|
|
"luau-lsp.sourcemap.enabled": false,
|
2023-01-19 01:47:14 +00:00
|
|
|
"luau-lsp.types.roblox": false,
|
|
|
|
"luau-lsp.types.definitionFiles": ["luneTypes.d.luau"],
|
2023-01-27 00:36:06 +00:00
|
|
|
"luau-lsp.types.documentationFiles": ["luneDocs.json"],
|
2023-01-24 18:45:28 +00:00
|
|
|
"luau-lsp.require.mode": "relativeToFile",
|
|
|
|
// Rust
|
2023-01-19 02:11:47 +00:00
|
|
|
"rust-analyzer.check.command": "clippy",
|
2023-01-24 18:45:28 +00:00
|
|
|
// Formatting
|
2023-01-19 01:47:14 +00: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"
|
|
|
|
}
|
|
|
|
}
|