|
|
@ -36,6 +36,7 @@ local function press_tab()
|
|
|
|
local closedpattern = "%- %[[x]%]"
|
|
|
|
local closedpattern = "%- %[[x]%]"
|
|
|
|
|
|
|
|
|
|
|
|
if string.match(current_line, openpattern) or string.match(current_line, closedpattern) then
|
|
|
|
if string.match(current_line, openpattern) or string.match(current_line, closedpattern) then
|
|
|
|
|
|
|
|
print("tab pressed, allegedly")
|
|
|
|
vim.api.nvim_feedkeys(">", "n", true)
|
|
|
|
vim.api.nvim_feedkeys(">", "n", true)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|