fix(lua): properly configure luacheck and remove local vim = ... lines (#20551)

This commit is contained in:
Folke Lemaitre
2022-10-09 12:40:56 +02:00
committed by GitHub
parent edc8a1f046
commit 8c2226fc30
10 changed files with 3 additions and 14 deletions

View File

@@ -1,6 +1,3 @@
-- prevents luacheck from making lints for setting things on vim
local vim = assert(vim)
local pathtrails = {}
vim._so_trails = {}
for s in (package.cpath .. ';'):gmatch('[^;]*;') do