mirror of
https://github.com/lune-org/lune.git
synced 2024-12-12 21:10:36 +00:00
43 lines
1.2 KiB
JSON
43 lines
1.2 KiB
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.types.documentationFiles": ["luneDocs.json"],
|
|
"luau-lsp.require.mode": "relativeToFile",
|
|
// Luau - ignore type defs file in docs dir and dev scripts we use
|
|
"luau-lsp.ignoreGlobs": [
|
|
"docs/*.d.luau",
|
|
"packages/lib-roblox/scripts/*.luau"
|
|
],
|
|
// 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"
|
|
},
|
|
// Ignore temp / gitignored files while editing for a more focused
|
|
// workspace, this can be deleted or overridden safely if needed
|
|
"files.exclude": {
|
|
// Defaults
|
|
"**/.git": true,
|
|
"**/.svn": true,
|
|
"**/.hg": true,
|
|
"**/CVS": true,
|
|
"**/.DS_Store": true,
|
|
"**/Thumbs.db": true,
|
|
// Autogenerate dirs
|
|
"bin": true,
|
|
"target": true,
|
|
"wiki": true
|
|
}
|
|
}
|