diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index fd08252..b30514b 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -92,12 +92,11 @@ vim.g.rainbow_active = 1 -- Needs to be set before nvim-peekup vim.g.peekup_paste_before = 'P' vim.g.peekup_paste_after = 'p' - --- Settings using nvim.api -- Needs to be set before vim-sneak is loaded -vim.api.nvim_command('let g:sneak#label = 1') -vim.api.nvim_command('let g:sneak#s_next = 1') -vim.api.nvim_command('let g:sneak#use_ic_scs = 0') +vim.g['sneak#label'] = 1 +vim.g['sneak#s_next'] = 1 +vim.g['sneak#use_ic_scs'] = 0 + -- We do this to prevent the loading of the system fzf.vim plugin. This is -- present at least on Arch/Manjaro vim.api.nvim_command('set rtp-=/usr/share/vim/vimfiles')