mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-08-02 17:15:10 +02:00
fix(keymaps): only add vim.show_pos on nightly. Fixes #10
This commit is contained in:
parent
47fa58c2ed
commit
3d998cbdb1
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue