From 68592eaffb23ac2f1cc87c6e6c125eb4873ab09f Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Mon, 8 Jun 2026 13:02:44 +0200 Subject: misc(nvim): rename user commands --- .config/nvim/after/ftplugin/markdown.lua | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/.config/nvim/after/ftplugin/markdown.lua b/.config/nvim/after/ftplugin/markdown.lua index 1de3a37..d492855 100644 --- a/.config/nvim/after/ftplugin/markdown.lua +++ b/.config/nvim/after/ftplugin/markdown.lua @@ -160,10 +160,5 @@ local function uncheck_checklist_item() vim.api.nvim_buf_set_lines(0, start_row - 1, end_row, false, lines) end -vim.api.nvim_buf_create_user_command(0, "MarkdownListCheck", check_checklist_item, { desc = "Check checklist item" }) -vim.api.nvim_buf_create_user_command( - 0, - "MarkdownListUncheck", - uncheck_checklist_item, - { desc = "Uncheck checklist item" } -) +vim.api.nvim_buf_create_user_command(0, "MarkdownCheck", check_checklist_item, { desc = "Check checklist item" }) +vim.api.nvim_buf_create_user_command(0, "MarkdownUncheck", uncheck_checklist_item, { desc = "Uncheck checklist item" }) -- cgit v1.3.1