From 649365fb2770b7847b4109263164abbfb1fbef8e Mon Sep 17 00:00:00 2001 From: phanium Date: Fri, 8 Mar 2024 17:44:44 +0800 Subject: [PATCH 1/2] doc: update README.md --- README.md | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/README.md b/README.md index ab04f7a..c4262d2 100644 --- a/README.md +++ b/README.md @@ -1,19 +1,20 @@ [![CI](https://github.com/phanen/toggle-checkbox.nvim/actions/workflows/ci.yml/badge.svg)](https://github.com/phanen/toggle-checkbox.nvim/actions/workflows/ci.yml) -# toggle-checkbox.nvim +# mder.nvim -A Neovim plugin for checking and unchecking Markdown checkboxes, written in Lua. - -Inspired by [jkramer/vim-checkbox](https://github.com/jkramer/vim-checkbox). - - -## install - -use `lazy.nvim` ```lua { - "phanen/toggle-checkbox.nvim", + "phanen/mder.nvim", ft = "markdown", - keys = { { mode = { "n", "x" }, "", "lua require('toggle-checkbox').toggle()" }, }, - opts = {}, + config = function() + au("Filetype", { + pattern = { "markdown", "typst" }, + callback = function() + map({ "n", "x" }, "", require("mder").line, { buffer = 0 }) + map("x", "", require("mder").codeblock, { buffer = 0 }) + map("n", "o", require("mder").listdn, { expr = true, buffer = 0 }) + map("n", "O", require("mder").listup, { expr = true, buffer = 0 }) + end, + }) + end, }, ``` From 267625e80172e3c607b24a2d9430771f0c12921d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 8 Mar 2024 09:45:50 +0000 Subject: [PATCH 2/2] chore(master): release 2.0.0 --- CHANGELOG.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2710176..6d91cb1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Changelog +## [2.0.0](https://github.com/phanen/mder.nvim/compare/v1.1.1...v2.0.0) (2024-03-08) + + +### ⚠ BREAKING CHANGES + +* autolist and codeblock + +### Features + +* autolist and codeblock ([f8829db](https://github.com/phanen/mder.nvim/commit/f8829db44135d6a5520759afc73e0fab78941967)) + ## [1.1.1](https://github.com/phanen/toggle-checkbox.nvim/compare/v1.1.0...v1.1.1) (2024-03-08)