Drop init.vim

With the below PR merged
https://github.com/neovim/neovim/pull/12235

init.lua is now first class and we have no need for init.vim anymore.
This commit is contained in:
Sanchayan Maity 2020-12-07 09:50:26 +05:30
parent 33dca47c05
commit fef45b50e9
3 changed files with 4 additions and 9 deletions

View file

@ -1,2 +0,0 @@
let s:load_dir = expand('<sfile>:p:h:h:h')
exec printf('luafile %s/lua/init.lua', s:load_dir)

View file

@ -91,8 +91,6 @@ vim.api.nvim_command('set pumblend=30')
vim.api.nvim_command('set sessionoptions-=blank')
vim.api.nvim_command('set backspace=indent,eol,start')
vim.api.nvim_command('set diffopt=filler,internal,algorithm:histogram,indent-heuristic')
-- Load out custom colorscheme
vim.api.nvim_command('colorscheme yolokai')
-- Do not create any backups or swap file
vim.api.nvim_command('set nobackup')
vim.api.nvim_command('set nowritebackup')
@ -101,3 +99,7 @@ vim.api.nvim_command('set noswapfile')
require 'plugins'
require 'autocmd'
require 'keymappings'
require 'yolokai'
-- Load our custom color scheme
vim.api.nvim_command('colorscheme yolokai')

View file

@ -1,5 +0,0 @@
lua require 'init'
" This seems to be required here as well as in init.lua else the colorscheme
" does not take effect or load
colorscheme yolokai