-- shorhands ------------------------------------------------------------------
o = vim.opt
a = vim.api
g = vim.g
c = vim.cmd

-- main lua files -------------------------------------------------------------
require('bootstrap')
require('core.handler')

-- call all snippets in the lua/snippets directory ----------------------------
require('snippet.shorthands')
for _, file in ipairs(vim.fn.readdir(vim.fn.stdpath('config')..'/lua/snippet',
  [[v:val =~ '\.lua$']])) do
  require('snippet.'..file:gsub('%.lua$', ''))
end

-- call the config manager ----------------------------------------------------
require('mngr')