nvim: Do not rely on plugins.vim to load plugins
We do not really need to rely on a plugins file in 'plugin' to load the packages using 'execute luafile'. Just do a 'require plugins' in init.lua.
This commit is contained in:
parent
07739669c5
commit
ee6af66c8a
2 changed files with 1 additions and 2 deletions
|
@ -97,6 +97,6 @@ vim.api.nvim_command('set diffopt=filler,internal,algorithm:histogram,indent-heu
|
||||||
-- Load out custom colorscheme
|
-- Load out custom colorscheme
|
||||||
vim.api.nvim_command('colorscheme yolokai')
|
vim.api.nvim_command('colorscheme yolokai')
|
||||||
|
|
||||||
-- Add other lua configs or plugins
|
require 'plugins'
|
||||||
require 'autocmd'
|
require 'autocmd'
|
||||||
require 'keymappings'
|
require 'keymappings'
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
execute 'luafile ' . stdpath('config') . '/lua/plugins.lua'
|
|
Loading…
Reference in a new issue