diff --git a/.emmyrc.json b/.emmyrc.json new file mode 100644 index 0000000..c774b16 --- /dev/null +++ b/.emmyrc.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json", + "runtime": { + "version": "LuaJIT", + "requirePattern": [ + "lua/?.lua", + "lua/?/init.lua" + ] + }, + "diagnostics": { + "disable": [ + "unnecessary-if", + "preferred-local-alias", + "redefined-local" + ] + }, + "workspace": { + "library": [ + "/usr/share/nvim/runtime" + ] + } +}