From 361a25bdddf4c4af91365a77c76a42051c3dbea1 Mon Sep 17 00:00:00 2001 From: Soispha Date: Wed, 8 Nov 2023 20:59:11 +0100 Subject: fix(hm/conf/nvim/ftplgs/tex): Use newer nvim keymaps api --- hm/soispha/conf/nvim/files/ftplugin/tex.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hm/soispha/conf/nvim/files/ftplugin/tex.lua b/hm/soispha/conf/nvim/files/ftplugin/tex.lua index 9935e287..05a2c593 100644 --- a/hm/soispha/conf/nvim/files/ftplugin/tex.lua +++ b/hm/soispha/conf/nvim/files/ftplugin/tex.lua @@ -53,6 +53,6 @@ require("telescope").setup({ }; }) require("telescope").load_extension("bibtex") -vim.api.nvim_set_keymap("n", "ib", function() - require("telescope").extensions.bibtex.bibtex() - end, { noremap = true; silent = true; desc = "list bibtex entries in telescope"; }) +vim.keymap.set("n", "ib", function() + require("telescope").extensions.bibtex.bibtex() + end, { noremap = true; silent = true; desc = "list bibtex entries in telescope"; }) -- cgit 1.4.1