robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Justin M. KeyesMerge #36870 from justinmk/luacore10b610bbd9

master
483 B22 linesraw
1-- Configuration file for LuaCov
2
3local source = require("lfs").currentdir()
4
5local function pesc(s)
6  assert(type(s) == 'string', s)
7  return s:gsub('[%(%)%.%%%+%-%*%?%[%]%^%$]', '%%%1')
8end
9
10return {
11  include = {
12    -- Absolute paths (starting with source dir, not hidden (i.e. .deps)).
13    pesc(source) .. "[/\\][^.].+",
14    -- Relative (non-hidden) paths.
15    '^[^/\\.]',
16  },
17  modules = {
18    ['vim'] = 'runtime/lua/vim/_core/shared.lua'
19  },
20}
21
22-- vim: ft=lua tw=80 sw=2 et