-- get directory of this file local config_dir = vim.fn.fnamemodify(debug.getinfo(1, "S").source:sub(2), ":h") -- prepend it to Lua's search path package.path = config_dir .. "/?.lua;" .. config_dir .. "/?/init.lua;" .. package.path require("sentence_lines")