chore: emmylua config for the lua runtime tree
This commit is contained in:
@@ -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"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user