about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-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"; })