nvim: Switch away from depredcated nvim_exec function
Use nvim_exec2 instead, which is weirdly named.
This commit is contained in:
parent
2dbd94dda4
commit
e434c191c9
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@
|
|||
-- https://github.com/elianiva/dotfiles/ - with much gratitude
|
||||
local api = vim.api
|
||||
|
||||
api.nvim_exec('runtime abbrev.vim', false)
|
||||
api.nvim_exec2('runtime abbrev.vim', {})
|
||||
|
||||
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||
if not vim.loop.fs_stat(lazypath) then
|
||||
|
|
Loading…
Reference in a new issue