improved-ft.nvim
improved-ft.nvim copied to clipboard
Breaking changes! Custom maps don't work!
Now all mappings should be perform with expr = true option. Example:
local map = function(key, fn, description)
vim.keymap.set({ "n", "x", "o" }, key, fn, {
desc = description,
expr = true, -- BREAKING CHANGES HERE!
})
end
map("f", ft.hop_forward_to_char, "Hop forward to a given char")
There were some bugs in performing macros that were impossible to fix without the breaking changes.
Thanks for understanding!