+13
-3
after/ftplugin/markdown.lua
+13
-3
after/ftplugin/markdown.lua
···
6
6
vim.opt_local.concealcursor = "cv"
7
7
8
8
map("n", "<localleader>v", "<cmd>Markview toggle<cr>", true)
9
-
map("n", "<localleader>t", function()
10
-
require("scratch.tasks").complete()
11
-
end)
9
+
map("n", "<localleader>t", require("scratch.tasks").complete, true)
10
+
11
+
vim.b.minihipatterns_config = {
12
+
highlighters = {
13
+
next = { pattern = "%#next", group = "MiniTestPass" },
14
+
front = { pattern = "front%:", group = "@boolean" },
15
+
feat = { pattern = "feat%:", group = "@boolean" },
16
+
chore = { pattern = "chore%:", group = "@character" },
17
+
refactor = { pattern = "refactor%:", group = "@comment.info" },
18
+
fix = { pattern = "fix%:", group = "@comment.error" },
19
+
docs = { pattern = "docs%:", group = "@label" },
20
+
},
21
+
}
+1
lua/plugins/meta.lua
+1
lua/plugins/meta.lua
···
27
27
require("mini.ai").setup {}
28
28
require("mini.icons").setup {}
29
29
require("mini.test").setup {}
30
+
require("mini.hipatterns").setup {}
30
31
require("mini.comment").setup {
31
32
custom_commentstring = function()
32
33
return require("ts_context_commentstring.internal").calculate_commentstring()