2 files changed,
14 insertions(+),
3 deletions(-)
jump to
| M | after/ftplugin/markdown.lua |
| M | lua/plugins/meta.lua |
M
after/ftplugin/markdown.lua
@@ -6,6 +6,16 @@ vim.opt_local.conceallevel = 2
vim.opt_local.concealcursor = "cv" map("n", "<localleader>v", "<cmd>Markview toggle<cr>", true) -map("n", "<localleader>t", function() - require("scratch.tasks").complete() -end) +map("n", "<localleader>t", require("scratch.tasks").complete, true) + +vim.b.minihipatterns_config = { + highlighters = { + next = { pattern = "%#next", group = "MiniTestPass" }, + front = { pattern = "front%:", group = "@boolean" }, + feat = { pattern = "feat%:", group = "@boolean" }, + chore = { pattern = "chore%:", group = "@character" }, + refactor = { pattern = "refactor%:", group = "@comment.info" }, + fix = { pattern = "fix%:", group = "@comment.error" }, + docs = { pattern = "docs%:", group = "@label" }, + }, +}
M
lua/plugins/meta.lua
@@ -27,6 +27,7 @@ require("mini.pairs").setup {}
require("mini.ai").setup {} require("mini.icons").setup {} require("mini.test").setup {} + require("mini.hipatterns").setup {} require("mini.comment").setup { custom_commentstring = function() return require("ts_context_commentstring.internal").calculate_commentstring()