Commit graph

21 commits

Author SHA1 Message Date
Folke Lemaitre
8a6875ab3b
perf(markdown): only run markdownlint-cli2 formatter when there are markdownlint diagnostics for the buffer 2024-06-30 11:16:10 +02:00
Folke Lemaitre
73e72ee21d
perf(markdown): don't format with markdown-toc when no toc in the doc 2024-06-29 15:37:51 +02:00
Maximilian Stinsky
f47d105b80
feat(extras): switch to markdownlint-cli2 (#3843)
## What is this PR for?
This PR switches makrdownlint-cli to markdownlint-cli2.
markdownlint-cli2 should be a bit faster than markdownlint-cli and has a
more flexible configuration through files in the whole directory tree.
The cli is maintained by David Anson who also wrote the markdown style
checker itself which is used by the "old" cli and cli2.

Blog post from David Anson regarding the new cli itself:
https://dlaa.me/blog/post/markdownlintcli2

## Does this PR fix an existing issue?
 No

## Checklist

- [x] I've read the
[CONTRIBUTING](https://github.com/LazyVim/LazyVim/blob/main/CONTRIBUTING.md)
guidelines.
2024-06-29 10:41:20 +02:00
Folke Lemaitre
351336244c
perf(markdown): add filetype in VeryLazy 2024-06-24 22:11:59 +02:00
Folke Lemaitre
abec8fbb03
fix(markdown): added support for mdx files 2024-06-23 08:56:15 +02:00
Folke Lemaitre
ab41ff551b
refactor: use lazy's new opts_extend functionality for treesitter and mason 2024-06-07 09:03:59 +02:00
DrummyFloyd
a9aea4b5a1
fix(markdown): missing markdown-toc in mason (#3499)
missing `markdown-toc` in ensure installed for `extra/markdown`
2024-06-06 16:22:40 +02:00
Folke Lemaitre
f8268faa7c
fix: cleanup unnecessary treesitter langs and mason lsp servers 2024-06-05 18:07:01 +02:00
Folke Lemaitre
ae6d8f1a34
feat(markdown): add formatter for mdx 2024-05-21 23:05:29 +02:00
Peter Benjamin
9eec03d890
feat(markdown): configure conform for markdown files (#2308) 2024-05-21 23:03:43 +02:00
Folke Lemaitre
c29213416b
feat(extras): added recommended detectors for all languages 2024-05-18 14:39:20 +02:00
Folke Lemaitre
843032ef1c
fix(markdown): disable headlines.nvim bullets for now 2024-03-14 16:53:00 +01:00
Folke Lemaitre
0ba731a879
fix(markdown): disable headlines.nvim in insert mode. Fixes #2717 2024-03-14 16:39:23 +01:00
Folke Lemaitre
b651560ad0
perf(markdown): prevent headlines.nvim slowing down initial rendering with nvim README.md 2023-10-25 15:40:57 +02:00
Folke Lemaitre
eab464d52d
fix(markdown): create default numbered Headline groups for colorschemes that dont support them. Fixes #1822 2023-10-25 14:23:44 +02:00
Folke Lemaitre
3dbeda9d96
fix(markdown): add marksman to mason install 2023-10-16 12:44:41 +02:00
Folke Lemaitre
152e1c6692
feat(markdown): added headlines.nvim to markdown extra 2023-10-16 08:36:27 +02:00
jyuan0
7c60431c58
fix(python): add ft to Python keymaps, and fix "Markdown Preview" toggle description (#1729)
* feat(python): add `ft` to keymaps

* fix(markdown): fix toggle keymap description
2023-10-15 07:21:17 +02:00
Jakub Kozłowicz
b3d46bc014
feat(lang): add markdown support (#1718)
* feat(lang): add markdown support

* feat: use peek.nvim instead of markdown-preview. Disable and show warning when deno is not installed

* feat: add markdown-preview back

---------

Co-authored-by: Folke Lemaitre <folke.lemaitre@gmail.com>
2023-10-14 17:42:02 +02:00
Folke Lemaitre
121df70604
Revert "fix: dont lazy-load on ft. Load on cmd or keys only"
This reverts commit 3a93757bb1.
2023-10-14 17:35:13 +02:00
Folke Lemaitre
3a93757bb1
fix: dont lazy-load on ft. Load on cmd or keys only 2023-10-14 17:32:06 +02:00