about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-11-08 20:59:11 +0100
committerSoispha <soispha@vhack.eu>2023-11-08 20:59:11 +0100
commit361a25bdddf4c4af91365a77c76a42051c3dbea1 (patch)
treea2f673fe2ef7b36acbb13ba0b90f52819a092b2c
parentbuild(treewide): Update (diff)
downloadnixos-config-361a25bdddf4c4af91365a77c76a42051c3dbea1.tar.gz
nixos-config-361a25bdddf4c4af91365a77c76a42051c3dbea1.zip
fix(hm/conf/nvim/ftplgs/tex): Use newer nvim keymaps api
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/nvim/files/ftplugin/tex.lua6
1 files 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", "<leader>ib", function()
-                          require("telescope").extensions.bibtex.bibtex()
-                        end, { noremap = true; silent = true; desc = "list bibtex entries in telescope"; })
+vim.keymap.set("n", "<leader>ib", function()
+                 require("telescope").extensions.bibtex.bibtex()
+               end, { noremap = true; silent = true; desc = "list bibtex entries in telescope"; })