Skip to content

bug: #572

@egnrse

Description

@egnrse

Neovim version (nvim -v)

0.11.1

Neovim distribution

LazyVim (?)

Operating system

Debian 13

Terminal emulator / GUI

Alacritty

Describe the bug

Using hideable markdown syntax eg. *text* **text** ~~text~~ will miss-align pretty table rendering.
For an example using strike-through see the example below.

Example

Image
| test table       | test2    |
|------------------|-----------|
| test test      | random |


| ~~test~~ table   | test2    |
|------------------|-----------|
| test test      | random |

Expected behavior

The table still has sensible borders.:

Healthcheck output

==============================================================================
lazy:                                           require("lazy.health").check()

lazy.nvim ~
- {lazy.nvim} version `11.17.5`
- ✅ OK {git} `version 2.47.3`
- ✅ OK no existing packages found by other package managers
- ✅ OK packer_compiled.lua not found

luarocks ~
- checking `hererocks` installation
- ✅ OK no plugins require `luarocks`, so you can ignore any warnings below
- ✅ OK {python3} `Python 3.13.5`
- ❌ ERROR {/home/elia/.local/share/nvim/lazy-rocks/hererocks/bin/luarocks} not installed
- ⚠️ WARNING {/home/elia/.local/share/nvim/lazy-rocks/hererocks/bin/lua} version `5.1` not installed
- ⚠️ WARNING Lazy won't be able to install plugins that require `luarocks`.
  Here's what you can do:
   - fix your `luarocks` installation
   - disable *hererocks* with `opts.rocks.hererocks = false`
   - disable `luarocks` support completely with `opts.rocks.enabled = false`

==============================================================================
lspconfig:                                 require("lspconfig.health").check()

- Skipped. This healthcheck is redundant with `:checkhealth vim.lsp`.

==============================================================================
luasnip:                                     require("luasnip.health").check()

luasnip ~
- ✅ OK jsregexp is installed

==============================================================================
nvim-treesitter:                     require("nvim-treesitter.health").check()

Requirements ~
- ✅ OK Neovim was compiled with tree-sitter runtime ABI version 15 (required >=13).
- ❌ ERROR tree-sitter-cli not found
- ✅ OK tar 1.35.0 (/usr/bin/tar)
- ✅ OK curl 8.14.1 (/usr/bin/curl)
  curl 8.14.1 (x86_64-pc-linux-gnu) libcurl/8.14.1 OpenSSL/3.5.4 zlib/1.3.1 brotli/1.1.0 zstd/1.5.7 libidn2/2.3.8 libpsl/0.21.2 libssh2/1.11.1 nghttp2/1.64.0 nghttp3/1.8.0 librtmp/2.3 OpenLDAP/2.6.10
  Release-Date: 2025-06-04, security patched: 8.14.1-2+deb13u2
  Protocols: dict file ftp ftps gopher gophers http https imap imaps ipfs ipns ldap ldaps mqtt pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp ws wss
  Features: alt-svc AsynchDNS brotli GSS-API HSTS HTTP2 HTTP3 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM PSL SPNEGO SSL threadsafe TLS-SRP UnixSockets zstd

OS Info ~
- version: #1 SMP PREEMPT_DYNAMIC Debian 6.12.57-1 (2025-11-05)
- release: 6.12.57+deb13-amd64
- sysname: Linux
- machine: x86_64

Install directory for parsers and queries ~
- /home/elia/.local/share/nvim/site/
- ✅ OK is writable.
- ❌ ERROR is not in runtimepath.

Installed languages     H L F I J ~

  Legend: H[ighlights], L[ocals], F[olds], I[ndents], In[J]ections ~

==============================================================================
render-markdown:                     require("render-markdown.health").check()

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

render-markdown.nvim [configuration] ~
- ❌ ERROR checkbox.position - expected: nil, got: string

render-markdown.nvim [tree-sitter markdown] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14
- ✅ OK highlights: /usr/local/share/nvim/runtime/queries/markdown/highlights.scm
- ❌ ERROR highlighter: not enabled
  - ADVICE:
    - call vim.treesitter.start on markdown buffers

render-markdown.nvim [tree-sitter markdown_inline] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14
- ✅ OK highlights: /usr/local/share/nvim/runtime/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: "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

==============================================================================
vim.deprecated:                       require("vim.deprecated.health").check()

 ~
- ⚠️ WARNING vim.tbl_flatten is deprecated. Feature will be removed in Nvim 0.13
  - ADVICE:
    - use vim.iter(…):flatten():totable() instead.
    - stack traceback:
        /home/elia/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer/nvim.lua:96
        /home/elia/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer.lua:588
        /home/elia/.config/nvim/lua/plugins/misc.lua:7
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:115
        [C]:-1
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:135
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:114
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:112
        /home/elia/.config/nvim/lua/config/lazy.lua:25
        [C]:-1
        /home/elia/Documents/configs/nvim/init.lua:63
    - stack traceback:
        /home/elia/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer/nvim.lua:96
        /home/elia/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer.lua:589
        /home/elia/.config/nvim/lua/plugins/misc.lua:7
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:115
        [C]:-1
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:135
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:114
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:112
        /home/elia/.config/nvim/lua/config/lazy.lua:25
        [C]:-1
        /home/elia/Documents/configs/nvim/init.lua:63
    - stack traceback:
        /home/elia/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer/nvim.lua:96
        /home/elia/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer.lua:613
        /home/elia/.config/nvim/lua/plugins/misc.lua:7
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:115
        [C]:-1
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:135
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:114
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:112
        /home/elia/.config/nvim/lua/config/lazy.lua:25
        [C]:-1
        /home/elia/Documents/configs/nvim/init.lua:63
    - stack traceback:
        /home/elia/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer/nvim.lua:96
        /home/elia/.local/share/nvim/lazy/nvim-colorizer.lua/lua/colorizer.lua:617
        /home/elia/.config/nvim/lua/plugins/misc.lua:7
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:115
        [C]:-1
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/util.lua:135
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/core/loader.lua:114
        /home/elia/.local/share/nvim/lazy/lazy.nvim/lua/lazy/init.lua:112
        /home/elia/.config/nvim/lua/config/lazy.lua:25
        [C]:-1
        /home/elia/Documents/configs/nvim/init.lua:63

 ~
- ⚠️ WARNING vim.validate is deprecated. Feature will be removed in Nvim 1.0
  - ADVICE:
    - use vim.validate(name, value, validator, optional_or_msg) instead.
    - stack traceback:
        /home/elia/.local/share/nvim/lazy/cmp-buffer/lua/cmp_buffer/source.lua:34
        /home/elia/.local/share/nvim/lazy/cmp-buffer/lua/cmp_buffer/source.lua:45
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:239
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/source.lua:283
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:308
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:178
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:238
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/core.lua:170
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/init.lua:372
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:53
        /home/elia/.local/share/nvim/lazy/nvim-cmp/lua/cmp/utils/autocmd.lua:14

==============================================================================
vim.health:                               require("vim.health.health").check()

Configuration ~
- ✅ OK no issues found

Runtime ~
- ✅ OK $VIMRUNTIME: /usr/local/share/nvim/runtime

Performance ~
- ✅ OK Build type: RelWithDebInfo

Remote Plugins ~
- ✅ OK Up to date

terminal ~
- key_backspace (kbs) terminfo entry: `key_backspace=\177`
- key_dc (kdch1) terminfo entry: `key_dc=\E[3~`
- $COLORTERM="truecolor"

External Tools ~
- ⚠️ WARNING ripgrep not available

==============================================================================
vim.lsp:                                     require("vim.lsp.health").check()

- LSP log level : WARN
- Log path: /home/elia/.local/state/nvim/lsp.log
- Log size: 0 KB

vim.lsp: Active Clients ~
- No active clients

vim.lsp: Enabled Configurations ~

vim.lsp: File Watcher ~
- file watching "(workspace/didChangeWatchedFiles)" disabled on all clients

vim.lsp: Position Encodings ~
- No active clients

==============================================================================
vim.provider:                           require("vim.provider.health").check()

Clipboard (optional) ~
- ✅ OK Clipboard tool found: wl-copy

Node.js provider (optional) ~
- ⚠️ WARNING `node` and `npm` (or `yarn`, `pnpm`) must be in $PATH.
  - ADVICE:
    - Install Node.js and verify that `node` and `npm` (or `yarn`, `pnpm`) commands work.

Perl provider (optional) ~
- ⚠️ WARNING "Neovim::Ext" cpan module is not installed
  - ADVICE:
    - See :help |provider-perl| for more information.
    - You can disable this provider (and warning) by adding `let g:loaded_perl_provider = 0` to your init.vim
- ⚠️ WARNING No usable perl executable found

Python 3 provider (optional) ~
- ⚠️ WARNING No Python executable found that can `import neovim`. Using the first available executable for diagnostics.
- ⚠️ WARNING Could not load Python :
  /usr/bin/python3 does not have the "neovim" module.
  /usr/bin/python3.13 does not have the "neovim" module.
  python3.12 not found in search path or not executable.
  python3.11 not found in search path or not executable.
  python3.10 not found in search path or not executable.
  python3.9 not found in search path or not executable.
  python not found in search path or not executable.
  - ADVICE:
    - See :help |provider-python| for more information.
    - You can disable this provider (and warning) by adding `let g:loaded_python3_provider = 0` to your init.vim
- Executable: Not found

Python virtualenv ~
- ✅ OK no $VIRTUAL_ENV

Ruby provider (optional) ~
- Ruby: ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux-gnu]
- ⚠️ WARNING `neovim-ruby-host` not found.
  - ADVICE:
    - Run `gem install neovim` to ensure the neovim RubyGem is installed.
    - Run `gem environment` to ensure the gem bin directory is in $PATH.
    - If you are using rvm/rbenv/chruby, try "rehashing".
    - See :help |g:ruby_host_prog| for non-standard gem installations.
    - You can disable this provider (and warning) by adding `let g:loaded_ruby_provider = 0` to your init.vim

==============================================================================
vim.treesitter:                       require("vim.treesitter.health").check()

Treesitter features ~
- Treesitter ABI support: min 13, max 15
- WASM parser support: false

Treesitter parsers ~
- ✅ OK Parser: c                    ABI: 14, path: /usr/local/lib/nvim/parser/c.so
- ✅ OK Parser: lua                  ABI: 14, path: /usr/local/lib/nvim/parser/lua.so
- ✅ OK Parser: markdown             ABI: 14, path: /usr/local/lib/nvim/parser/markdown.so
- ✅ OK Parser: markdown_inline      ABI: 14, path: /usr/local/lib/nvim/parser/markdown_inline.so
- ✅ OK Parser: query                ABI: 14, path: /usr/local/lib/nvim/parser/query.so
- ✅ OK Parser: vim                  ABI: 14, path: /usr/local/lib/nvim/parser/vim.so
- ✅ OK Parser: vimdoc               ABI: 14, path: /usr/local/lib/nvim/parser/vimdoc.so

Plugin configuration

{
  bullet = {
    ordered_icons = <function 1>
  },
  checkbox = {
    position = "inline"
  },
  heading = {
    above = " ",
    border = { true, true, false, false, false, false },
    enabled = false,
    icons = { vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL, vim.NIL },
    left_pad = { 0.5, 0, 0, 0, 0, 0 },
    min_width = 0.5,
    right_pad = { 0.5, 0, 0, 0, 0, 0 },
    sign = false,
    width = { "full", "full", "block", "block", "block", "block" }
  },
  injections = {
    gitcommit = {
      enabled = false,
      query = '\t\t\t\t\t((message) @injection.content\n\t\t\t\t\t(#set! injection.combined)\n\t\t\t\t\t(#set! injection.include-children)\n\t\t\t\t\t(#set! injection.language "markdown"))\n\t\t\t\t\t'
    }
  },
  latex = {
    converter = "latex2text"
  },
  link = {
    custom = {
      youtube = {
        pattern = "youtube%.com"
      }
    },
    enabled = false
  },
  on = {
    attach = <function 2>,
    render = <function 3>
  },
  quote = {
    highlight = "RenderMarkdownQuote"
  }
}

Plugin error log

N/A

Confirmations

  • I have updated this plugin to the latest version using my plugin manager
  • I have updated all treesitter parsers (:TSUpdate)
  • I have provided the text contained in all screenshots as raw text in this issue. This means if there is a screenshot below it is the copy pasted contents of the file in the screenshot. I understand that my issue will be closed if I have not.

Additional information

  • I use a custom setup using LazyVim not sure what is ment with Neovim distribution.
  • I dont think I use a treesitter. (I get `Not an editor command: TSUpdate)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions