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:
Sanchayan Maity 2020-11-10 21:06:15 +05:30
parent 07739669c5
commit ee6af66c8a
2 changed files with 1 additions and 2 deletions

View file

@ -97,6 +97,6 @@ vim.api.nvim_command('set diffopt=filler,internal,algorithm:histogram,indent-heu
-- Load out custom colorscheme
vim.api.nvim_command('colorscheme yolokai')
-- Add other lua configs or plugins
require 'plugins'
require 'autocmd'
require 'keymappings'

View file

@ -1 +0,0 @@
execute 'luafile ' . stdpath('config') . '/lua/plugins.lua'