way too lazy to sort this out, adding kitchen sink
This commit is contained in:
parent
e669b3eb8e
commit
d94b454eb6
16 changed files with 102 additions and 120 deletions
9
init.lua
9
init.lua
|
|
@ -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$', ''))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue