mirror of
https://git.disroot.org/FollieHiyuki/dotfiles.git
synced 2024-11-28 18:28:35 -05:00
68b4e1d59f
setfiletype doesn't trigger when autocmd is lazy loaded
15 lines
318 B
Lua
15 lines
318 B
Lua
local async
|
|
async = vim.loop.new_async(vim.schedule_wrap(function()
|
|
require('plugins')
|
|
require('mappings')
|
|
async:close()
|
|
end))
|
|
|
|
local options = require('options')
|
|
|
|
options.disable_default_plugins()
|
|
options.load_options()
|
|
require('colors.' .. vim.g.global_theme).highlight()
|
|
require('autocmd')
|
|
async:send()
|