mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
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:
17
.emmyrc.json
Normal file
17
.emmyrc.json
Normal 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"
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user