Compare commits

..

2 commits

Author SHA1 Message Date
73f9322a96
nvim: Render markdown todo active and deleted state
Additionally to the default states:

- [ ] new/empty entry
- [x] completed entry

we render two more:

- [-] active entry
- [_] deleted/not applicable entry
2024-11-22 21:18:22 +01:00
75a32b2a54
nvim: Fix deprecated typescript lsp mason name 2024-11-22 21:16:39 +01:00
2 changed files with 12 additions and 2 deletions

View file

@ -35,7 +35,7 @@ local servers = {
taplo = {},
texlab = {},
tinymist = {},
tsserver = {},
ts_ls = {},
yamlls = {},
}

View file

@ -69,14 +69,24 @@ local prose_plugs = {
main = "render-markdown",
opts = {
file_types = { unpack(md_like) },
render_modes = { "n", "c", "i" },
code = {
sign = false,
width = "block",
right_pad = 1,
},
checkbox = {
custom = {
todo = { raw = "[-]", rendered = "󰡖 ", highlight = "RenderMarkdownTodo" },
removed = { raw = "[_]", rendered = "󱋭 ", highlight = "RenderMarkdownTodo" },
},
},
},
name = "render-markdown", -- Only needed if you have another plugin named markdown.nvim
dependencies = { "nvim-treesitter/nvim-treesitter", "nvim-tree/nvim-web-devicons" }, -- if you prefer nvim-web-devicons
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons",
},
ft = md_like,
cmd = "RenderMarkdown",
keys = {