fix: cleanup all Neovim < 0.9.0 code

This commit is contained in:
Folke Lemaitre 2023-10-01 14:17:54 +02:00
parent b8ffa5261a
commit 9935dc3944
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
4 changed files with 6 additions and 13 deletions

View file

@ -125,9 +125,7 @@ map("n", "<leader>gG", function() Util.float_term({ "lazygit" }, {esc_esc = fals
map("n", "<leader>qq", "<cmd>qa<cr>", { desc = "Quit all" })
-- highlights under cursor
if vim.fn.has("nvim-0.9.0") == 1 then
map("n", "<leader>ui", vim.show_pos, { desc = "Inspect Pos" })
end
map("n", "<leader>ui", vim.show_pos, { desc = "Inspect Pos" })
-- LazyVim Changelog
map("n", "<leader>L", Util.changelog, {desc = "LazyVim Changelog"})