local M = {} M.no_capitalization = { capitalized = false } function M.localAbbr(lhs, rhs) -- Create abbreviation vim.cmd(":iabbrev " .. lhs .. " " .. rhs) end function M.manyLocalAbbr(abbreviations) for _, value in pairs(abbreviations) do M.localAbbr(value[1], value[2]) end end function M.abbr(lhs, rhs) -- Create abbreviation vim.cmd(":iabbrev " .. lhs .. " " .. rhs) end function M.manyGlobalAbbr(abbreviations) for _, value in pairs(abbreviations) do M.abbr(value[1], value[2]) end end function M.setup() require("my.abbreviations.global").setup() end return M