nvim: init: Use lua style code for sneak settings
This commit is contained in:
parent
c768cd89f1
commit
d2889ad053
1 changed files with 4 additions and 5 deletions
|
@ -92,12 +92,11 @@ vim.g.rainbow_active = 1
|
|||
-- Needs to be set before nvim-peekup
|
||||
vim.g.peekup_paste_before = '<Leader>P'
|
||||
vim.g.peekup_paste_after = '<Leader>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')
|
||||
|
|
Loading…
Reference in a new issue