Skip to content

Instantly share code, notes, and snippets.

@Pollux12
Created September 12, 2025 15:07
Show Gist options
  • Select an option

  • Save Pollux12/21513ae49a4b35dc0d2034917468b028 to your computer and use it in GitHub Desktop.

Select an option

Save Pollux12/21513ae49a4b35dc0d2034917468b028 to your computer and use it in GitHub Desktop.
CityRP .luarc.json config
{
"$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json",
"runtime.version": "LuaJIT",
"Lua.runtime.special": {
"include": "require",
"IncludeCS": "require",
"cityrp.util.Include": "require"
},
"diagnostics.groupSeverity": {
"type-check": "Information"
},
"type.weakNilCheck": true,
"type.weakUnionCheck": true,
"type.inferParamType": true,
"typeFormat.config": {
"auto_complete_end": "true",
"auto_complete_table_sep": "true",
"format_line": "true"
},
"diagnostics.ignoredFiles": "Opened",
"runtime.nonstandardSymbol": [
"!",
"!=",
"&&",
"||",
"//",
"/**/",
"continue"
],
"diagnostics.disable": [
"lowercase-global",
"inject-field",
"duplicate-set-field"
],
"diagnostics.libraryFiles": "Enable",
"workspace.ignoreDir": [
".vscode",
".git",
".github",
"docs",
"scripts",
"src",
"shaders"
],
"diagnostics.disableScheme": [
"git",
"vscode",
"src",
"docs"
],
"workspace.checkThirdParty": false,
"codeLens.enable": true,
"hint.enable": true,
"hint.setType": true,
"workspace.preloadFileSize": 500000,
"hint.arrayIndex": "Enable"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment