Skip to content

Commit 518f7a8

Browse files
committed
chore: update emmyrc/luarc for nvim 0.12 (uv now included in VIMRUNTIME)
1 parent c1ced7e commit 518f7a8

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

.emmyrc.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44
"requirePattern": ["lua/?.lua", "lua/?/init.lua"]
55
},
66
"workspace": {
7-
"library": [
8-
"$VIMRUNTIME",
9-
"$HOME/.local/share/nvim/lazy/luvit-meta/library/uv.lua"
10-
]
7+
"library": ["$VIMRUNTIME"]
118
},
129
"$schema": "https://raw.githubusercontent.com/EmmyLuaLs/emmylua-analyzer-rust/refs/heads/main/crates/emmylua_code_analysis/resources/schema.json"
1310
}

.luarc.jsonc

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,7 @@
11
{
22
"runtime.version": "LuaJIT",
33

4-
"workspace.library": [
5-
"$VIMRUNTIME/lua", // nvim-lua runtime
6-
"${3rd}/luv/library" // vim.uv
7-
],
4+
"workspace.library": ["$VIMRUNTIME/lua"], // nvim-lua runtime
85

96
"diagnostics": {
107
"unusedLocalExclude": ["_*"], // allow `_varname` for unused variables

0 commit comments

Comments
 (0)