new config old version is now on v1 branch

This commit is contained in:
2023-04-30 18:41:13 -04:00
parent 7c5d3eff78
commit 01a09f243c
77 changed files with 1611 additions and 1267 deletions

View File

@ -1,9 +1,15 @@
-- global shorthands
-- shorhands ------------------------------------------------------------------
o = vim.opt
g = vim.g
a = vim.api
cmd = vim.cmd
g.mapleader = " "
g = vim.g
c = vim.cmd
-- load config
require('core.init')
-- 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