2022-08-13 19:10:19 +02:00
|
|
|
if vim.fn.has('nvim-0.7.0') == 0 then
|
|
|
|
print("Old version detected. Some stuff will probably not work.")
|
|
|
|
end
|
|
|
|
|
2022-08-11 16:22:36 +02:00
|
|
|
require('my/plugins')
|
|
|
|
require('my/functions')
|
|
|
|
require('my/settings')
|
|
|
|
require('my/keymaps')
|
2022-08-13 19:12:11 +02:00
|
|
|
require('my/filetypes')
|
2022-08-11 16:22:36 +02:00
|
|
|
require('my/completion')
|
2022-08-13 12:30:13 +02:00
|
|
|
require('my/lsp')
|
2022-08-13 17:04:51 +02:00
|
|
|
require('my/tools')
|
2022-08-11 16:22:36 +02:00
|
|
|
require('my/coding')
|
2022-08-12 03:33:18 +02:00
|
|
|
require('my/net')
|
2022-08-08 13:57:38 +02:00
|
|
|
|
|
|
|
if packer_bootstrap then
|
|
|
|
require('packer').sync()
|
2022-08-13 14:44:37 +02:00
|
|
|
elseif not io.open(vim.fn.stdpath('config') .. '/plugin') then
|
2022-08-12 19:29:03 +02:00
|
|
|
require('packer').install()
|
|
|
|
end
|