fix(keymaps): only add vim.show_pos on nightly. Fixes #10
This commit is contained in:
1 file changed
+3
-1
@@ -89,4 +89,6 @@ end, { desc = "Lazygit (root dir)" })
|
||||
vim.keymap.set("n", "<leader>qq", "<cmd>qa<cr>", { desc = "Quit all" })
|
||||
|
||||
-- highlights under cursor
|
||||
vim.keymap.set("n", "<leader>hl", vim.show_pos, { desc = "Highlight Groups at cursor" })
|
||||
if vim.fn.has("nvim-0.9.0") == 1 then
|
||||
vim.keymap.set("n", "<leader>hl", vim.show_pos, { desc = "Highlight Groups at cursor" })
|
||||
end
|
||||
Reference in new issue
Block a user