way too lazy to sort this out, adding kitchen sink

This commit is contained in:
2024-01-30 21:52:24 -05:00
parent e669b3eb8e
commit d94b454eb6
16 changed files with 102 additions and 120 deletions

View File

@ -9,15 +9,14 @@ vim.loader.enable()
-- main lua files -------------------------------------------------------------
misc = require('core.misc')
require('bootstrap')
require('conf')
misc.include('bootstrap')
misc.include('conf')
-- core lua files -------------------------------------------------------------
require('core.conf')
misc.include('core.conf')
-- call all snippets in the lua/snippets directory ----------------------------
if pcall(require, "luasnip") then
require('snippet.shorthands')
misc.include('snippet.shorthands')
for _, file in ipairs(vim.fn.readdir(vim.fn.stdpath('config')..'/lua/snippet',
[[v:val =~ '\.lua$']])) do
require('snippet.'..file:gsub('%.lua$', ''))