Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

bug: heading overlay obscures text with Pandoc syntax conceal

クローズ
#693 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
52/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
lua, markdown, neovim
領域
tooling

調査の方向性

Start by reproducing the heading.position = 'overlay' behavior with the shown lazy.nvim configuration and the pandoc filetype. Compare it with heading.position = 'inline', then isolate the effect of vim-pandoc-syntax conceal and vim-markdown in a minimal setup. Done means heading text remains visible for pandoc headings without changing the source contents.

索引モデルが issue の本文から書いたものです。

説明

Neovim version

0.12.0

Neovim distribution

Custom configuration using lazy.nvim

Operating system

Linux 6.17.0-40-generic

Terminal emulator / GUI

Kitty (TERM=xterm-kitty)

Describe the bug

In my setup, with the default heading.position = 'overlay', the numbered circle heading icons appear but the beginning of the heading text is obscured (approximately the first two letters). The file contents are intact. Setting heading.position = 'inline' avoids the problem.

This may be an interaction with the other Markdown plugins in my configuration rather than a standalone render-markdown bug: vim-pandoc sets the filetype of *.md to pandoc, vim-pandoc-syntax conceals ATX heading markers, and vim-markdown is also installed. The render-markdown plugin is configured to load for both markdown and pandoc filetypes. I have not isolated which of these is necessary to reproduce it.

Illustrative source text (the symptom was seen with headings at multiple levels in my files; this snippet is not a confirmed standalone reproducer):

# Heading sample
## Second heading
### Third heading

Observed: circular heading-number icons are drawn, but the first characters of heading text disappear from the displayed line. This is a visual problem only; the source text is unchanged. There are no plugin errors.

Expected behavior

Heading icons replace the Markdown marker without covering any heading text, including when the Markdown filetype is detected as pandoc.

Plugin configuration for reproduction
{
    'MeanderingProgrammer/render-markdown.nvim',
    ft = { 'markdown', 'pandoc' },
    dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-tree/nvim-web-devicons' },
    opts = {}, -- heading.position defaults to 'overlay'
}

Local workaround: opts = { heading = { position = 'inline' } }.

Healthcheck output (:checkhealth render-markdown)
==============================================================================
render-markdown:                                                          7 ⚠️

render-markdown.nvim [versions] ~
- ✅ OK neovim >= 0.11
- ✅ OK tree-sitter ABI: 15
- ✅ OK plugin: 8.14.0

render-markdown.nvim [configuration] ~
- ✅ OK valid

render-markdown.nvim [tree-sitter markdown] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15
- ✅ OK highlights: ~/.local/share/nvim/site/queries/markdown/highlights.scm
- ✅ OK highlighter: enabled

render-markdown.nvim [tree-sitter markdown_inline] ~
- ✅ OK parser: installed
- ✅ OK ABI: 15
- ✅ OK highlights: ~/.local/share/nvim/site/queries/markdown_inline/highlights.scm

render-markdown.nvim [tree-sitter html] ~
- ⚠️ WARNING parser: not installed
  - ADVICE:
    - disable html support to avoid this warning
      require("render-markdown").setup({
          html = { enabled = false },
      })
- ⚠️ WARNING ABI: unknown
  - ADVICE:
    - disable html support to avoid this warning
      require("render-markdown").setup({
          html = { enabled = false },
      })

render-markdown.nvim [tree-sitter latex] ~
- ⚠️ WARNING parser: not installed
  - ADVICE:
    - disable latex support to avoid this warning
      require("render-markdown").setup({
          latex = { enabled = false },
      })
- ⚠️ WARNING ABI: unknown
  - ADVICE:
    - disable latex support to avoid this warning
      require("render-markdown").setup({
          latex = { enabled = false },
      })

render-markdown.nvim [tree-sitter yaml] ~
- ⚠️ WARNING parser: not installed
  - ADVICE:
    - disable yaml support to avoid this warning
      require("render-markdown").setup({
          yaml = { enabled = false },
      })
- ⚠️ WARNING ABI: unknown
  - ADVICE:
    - disable yaml support to avoid this warning
      require("render-markdown").setup({
          yaml = { enabled = false },
      })

render-markdown.nvim [icons] ~
- ✅ OK using: nvim-web-devicons

render-markdown.nvim [latex] ~
- ⚠️ WARNING none installed: { "utftex", "latex2text" }
  - ADVICE:
    - disable latex support to avoid this warning
      require("render-markdown").setup({
          latex = { enabled = false },
      })

render-markdown.nvim [conflicts] ~
- ✅ OK headlines: not installed
- ✅ OK markview: not installed
- ✅ OK obsidian: not installed
Plugin error log

N/A

Additional information

Installed render-markdown version 8.14.0 (640a3ec), matching upstream HEAD when checked. markdown and markdown_inline parsers are present. I have not run :TSUpdate as part of this report, and cannot yet claim a clean/minimal configuration reproduces it. If this is due to conflicting Pandoc syntax conceal, guidance on compatibility or an appropriate fallback would be helpful.

主要言語
Lua
スター
5.2k
フォーク
145
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

MeanderingProgrammer/render-markdown.nvim のほかの issue

MeanderingProgrammer/render-markdown.nvim の issue をすべて見る

似ている issue

Lua の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。