Compare commits

..

3 Commits

Author SHA1 Message Date
24cb9a90e5 chore(main): release 1.7.2 (#225)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-10 10:04:40 +01:00
42d2411bfa fix(leap): don't use the x and X mappings in visual mode 2023-02-09 22:49:07 +01:00
ddd1fceb76 ci: autogen recipes 2023-02-09 22:48:42 +01:00
3 changed files with 10 additions and 1 deletions

View File

@ -1,5 +1,12 @@
# Changelog
## [1.7.2](https://github.com/LazyVim/LazyVim/compare/v1.7.1...v1.7.2) (2023-02-09)
### Bug Fixes
* **leap:** don't use the x and X mappings in visual mode ([42d2411](https://github.com/LazyVim/LazyVim/commit/42d2411bfa1d6fcc5edc20ee6dbc0dff0f0fba6e))
## [1.7.1](https://github.com/LazyVim/LazyVim/compare/v1.7.0...v1.7.1) (2023-02-09)

View File

@ -150,6 +150,8 @@ return {
leap.opts[k] = v
end
leap.add_default_mappings(true)
vim.keymap.del({ "x", "o" }, "x")
vim.keymap.del({ "x", "o" }, "X")
end,
},

View File

@ -136,7 +136,7 @@ function M.recipes()
local header = {} ---@type string[]
local block = {} ---@type string[]
for _, line in ipairs(lines) do
local comment = line:match("^ %-%- (.*)")
local comment = line:match("^ %-%- ?(.*)")
if comment then
header[#header + 1] = comment
elseif line:find("^ {") then