summaryrefslogtreecommitdiffstats
path: root/.config/nvim/init.lua
blob: 7cd3e97e349057b4242a95fdf797335f2df9398d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
-- init.lua
-- ========================
-- =====    ===============
-- ======  ================
-- ======  ================
-- ======  ====   ====   ==
-- ======  ===     ==  =  =
-- ======  ===  =  ==     =
-- =  ===  ===  =  ==  ====
-- =  ===  ===  =  ==  =  =
-- ==     =====   ====   ==
-- ========================

confdir = os.getenv('XDG_CONFIG_HOME')

vim.cmd('set runtimepath^=/home/r_bousset/.config/nvim runtimepath+=/home/jozan/.config/nvim/after')
vim.cmd('let &packpath = &runtimepath')
require('plug')
vim.cmd('source ' .. confdir .. '/nvim/settings.vim')
vim.cmd('source ' .. confdir .. '/nvim/bindings.vim')
vim.cmd('source ' .. confdir .. '/nvim/sidebars.vim')
vim.cmd('source ' .. confdir .. '/nvim/langs.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/airline.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/asyncomplete.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/floaterm.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/nerd-commenter.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/org.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/quickscope.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/rainbow.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/startify.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/signify.vim')
vim.cmd('source ' .. confdir .. '/nvim/plug-config/vim-lsp.vim')