Add a config file for EmmyLua Analyzer Rust LSP (#14319)

Also see <https://github.com/koreader/koreader/pull/10611>. There's some degree of compatibility with the LuaLS config `.luarc.json` but it didn't seem to work all that well.
This commit is contained in:
Frans de Jonge
2025-09-14 08:10:19 +02:00
committed by GitHub
parent 7e63f91c8e
commit d1e2f586ce

17
.emmyrc.json Normal file
View File

@@ -0,0 +1,17 @@
{
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json",
"workspace": {
"ignoreGlobs": [
"base/build/**/**",
"base/third_party/**/**"
]
},
"diagnostics": {
"globals": [
"G_reader_settings"
]
},
"runtime": {
"version": "LuaJIT"
}
}