summaryrefslogtreecommitdiffstats
path: root/.config/nvim/plugin/50-markdown.lua
Commit message (Collapse)AuthorAgeFilesLines
* misc(nvim): extend markdown heading background horizontallyHEADkdeThomas Vanbesien60 min.1-1/+1
|
* misc(nvim): reformat lua files to 100 char line widthThomas Vanbesien7 days1-1/+6
|
* misc(nvim): render &nbsp, &lt etc in markdown filesThomas Vanbesien10 days1-0/+1
| | | | | | | In floating windows with python documentation there is nbsp characters used for formatting. But with the default conceallevel they are invisible. This commit reduces the conceallevel so that they become visible.
* fix(nvim): floating window widthThomas Vanbesien12 days1-1/+1
| | | | The left_margin = 2 was messing with the floating window width.
* refactor(nvim): group vim.pack.add() callsThomas Vanbesien2026-05-291-6/+0
| | | | | This is to avoid getting many prompts when launching nvim and installing the packages initially.
* refactor(nvim): single source of truth for per-ft formatting widthThomas Vanbesien2026-05-191-1/+1
| | | | | | | | | - vim.g.dotfiles.textwidth = { sh=80, lua=120, markdown=120, gitcommit=72 } defined once in init.lua. - bash/lua/markdown/gitcommit ftplugins + render-markdown read from it; mdformat --wrap already follows vim.bo.textwidth. - gitcommit gets an explicit textwidth line (was implicit runtime 72). - Behavior unchanged; one number now propagates everywhere.
* misc: commentThomas Vanbesien2026-05-171-1/+1
|
* misc: extract magic numberThomas Vanbesien2026-05-171-3/+4
|
* feat(nvim): add markdown rendering with `render-markdown.nvim`Thomas Vanbesien2026-05-071-0/+24
See https://github.com/MeanderingProgrammer/render-markdown.nvim - Don't set `'colorcolumn'` and `'conceallevel'` in markdown ftplugin - Treesitter plugin doesn't install the markdown and markdown_inline parsers. `50-markdown.lua` does it instead, so that it is self-contained. It also installs extra parsers it needs: yaml, html and latex. - Remove markdown highlight adjustments in `50-colors.lua` - Remove `markdown/injections.scm` that was disabling treesitter highlighting inside fenced code blocks.