fix: vim.show_pos doesn't work on linux

pull/546/head
Thomas Alcala Schneider 2 years ago
parent 38a379f5e5
commit cb9ea43ce1
No known key found for this signature in database
GPG Key ID: 24BE5CF48622091B

@ -116,9 +116,9 @@ map("n", "<leader>gG", function() Util.float_term({ "lazygit" }) end, { desc = "
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
-- if vim.fn.has("nvim-0.9.0") == 1 then
-- map("n", "<leader>ui", vim.show_pos, { desc = "Inspect Pos" })
-- end
-- floating terminal
map("n", "<leader>ft", function() Util.float_term(nil, { cwd = Util.get_root() }) end, { desc = "Terminal (root dir)" })

Loading…
Cancel
Save