mirror of
https://github.com/lune-org/lune.git
synced 2024-12-13 13:30:38 +00:00
22 lines
645 B
JSON
22 lines
645 B
JSON
{
|
|
// Luau - disable Roblox features, enable Lune typedefs & requires
|
|
"luau-lsp.sourcemap.enabled": false,
|
|
"luau-lsp.types.roblox": false,
|
|
"luau-lsp.types.definitionFiles": ["luneTypes.d.luau"],
|
|
"luau-lsp.require.mode": "relativeToFile",
|
|
// Rust
|
|
"rust-analyzer.check.command": "clippy",
|
|
// Formatting
|
|
"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"
|
|
}
|
|
}
|