Add relative path requires to vscode settings file

This commit is contained in:
Filip Tibell 2023-01-24 13:45:28 -05:00
parent f230a4a769
commit ef61531199
No known key found for this signature in database

View file

@ -1,8 +1,12 @@
{ {
// Luau - disable Roblox features, enable Lune typedefs & requires
"luau-lsp.sourcemap.enabled": false,
"luau-lsp.types.roblox": false, "luau-lsp.types.roblox": false,
"luau-lsp.types.definitionFiles": ["luneTypes.d.luau"], "luau-lsp.types.definitionFiles": ["luneTypes.d.luau"],
"luau-lsp.sourcemap.enabled": false, "luau-lsp.require.mode": "relativeToFile",
// Rust
"rust-analyzer.check.command": "clippy", "rust-analyzer.check.command": "clippy",
// Formatting
"editor.formatOnSave": true, "editor.formatOnSave": true,
"stylua.searchParentDirectories": true, "stylua.searchParentDirectories": true,
"prettier.tabWidth": 2, "prettier.tabWidth": 2,