dotfiles/.config/nvim/init.lua
tastytea 7a49812118
nvim: separate plugins and config
It may look nicer but it leads to problems.
Also tweaked some thinks and cleaned up, made firenvim config only run
if it is used.
2022-08-15 01:29:31 +02:00

21 lines
484 B
Lua

if vim.fn.has('nvim-0.7.0') == 0 then
print("Old version detected. Some stuff will probably not work.")
end
require('my/plugins')
require('my.functions')
require('my/settings')
require('my/keymaps')
require('my/filetypes')
require('my/completion')
require('my/lsp')
require('my/tools')
require('my/coding')
require('my/net')
if packer_bootstrap then
require('packer').sync()
elseif not io.open(vim.fn.stdpath('config') .. '/plugin') then
require('packer').install()
end