From 5d68442624e8c1ceb536c53a7ae18f1a731f58e2 Mon Sep 17 00:00:00 2001 From: CronyAkatsuki Date: Thu, 28 Dec 2023 12:52:29 +0100 Subject: [PATCH] Remove unneeded comment's. --- lua/md-tools/init.lua | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/lua/md-tools/init.lua b/lua/md-tools/init.lua index 9c2dc57..0e118ab 100644 --- a/lua/md-tools/init.lua +++ b/lua/md-tools/init.lua @@ -22,30 +22,4 @@ M.headerControl = function(action) end end --- M.promote = function() --- local current_line = vim.api.nvim_get_current_line() --- local row = vim.api.nvim_win_get_cursor(0)[1] --- --- if current_line:match(header_regex) then --- if current_line:match("^# (.+)") then --- vim.notify("You can't promote this header anymore") --- else --- vim.api.nvim_buf_set_text(0, row - 1, 0, row - 1, 1, { "" }) --- end --- end --- end --- --- M.demote = function() --- local current_line = vim.api.nvim_get_current_line() --- local row = vim.api.nvim_win_get_cursor(0)[1] --- --- if current_line:match(header_regex) then --- if current_line:match("^###### (.+)") then --- vim.notify("You can't demote this header anymore") --- else --- vim.api.nvim_buf_set_text(0, row - 1, 0, row - 1, 0, { "#" }) --- end --- end --- end - return M