From d1e2f586ce73d68099259529add9712536f04574 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Sun, 14 Sep 2025 08:10:19 +0200 Subject: [PATCH] Add a config file for EmmyLua Analyzer Rust LSP (#14319) Also see . There's some degree of compatibility with the LuaLS config `.luarc.json` but it didn't seem to work all that well. --- .emmyrc.json | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .emmyrc.json diff --git a/.emmyrc.json b/.emmyrc.json new file mode 100644 index 000000000..e2cbcc6d0 --- /dev/null +++ b/.emmyrc.json @@ -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" + } +}