From e434c191c930d8a239ba7222c9898ea6335d326c Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Thu, 15 Jun 2023 10:00:20 +0200 Subject: [PATCH] nvim: Switch away from depredcated nvim_exec function Use nvim_exec2 instead, which is weirdly named. --- nvim/.config/nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvim/.config/nvim/init.lua b/nvim/.config/nvim/init.lua index 6846058..bfc8a17 100644 --- a/nvim/.config/nvim/init.lua +++ b/nvim/.config/nvim/init.lua @@ -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