Skip to content

bug: "you are running an old build" when using a non-exist LaTeX command without argument #535

@sghng

Description

@sghng

Neovim version (nvim -v)

NVIM v0.12.0-dev-1379+ga4006360f

Neovim distribution

N/A

Operating system

macOS Tahoe

Terminal emulator / GUI

Ghostty

Describe the bug

When I input any non-exist command without args (say, \notacmd, this error msg will popup. When it's passed any argument (e.g. \notacmd{1}), no error is shown.

MeanderingProgrammer/render-markdown.nvim
nvim_buf_set_extmark error (Invalid chunk: expected Array with 1 or 2 Strings)
you are running an old build of neovim that has now been released
your build does not have all the features that are in the release
update your build or switch to the release version

I am indeed running the latest build (nightly build, in fact).

Expected behavior

This error message does not match with the actual error.

Healthcheck output

==============================================================================
render-markdown:                                                            ✅

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

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

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

render-markdown.nvim [tree-sitter html] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14

render-markdown.nvim [tree-sitter latex] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14

render-markdown.nvim [tree-sitter yaml] ~
- ✅ OK parser: installed
- ✅ OK ABI: 14

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

render-markdown.nvim [latex] ~
- ✅ OK using: latex2text

render-markdown.nvim [conflicts] ~
- ✅ OK headlines: not installed
- ✅ OK markview: not installed
- ✅ OK obsidian: installed but should not conflict

Plugin configuration

14:16:07 msg_show.lua_print   RenderMarkdown config {
  code = {
    highlight_border = false
  },
  file_types = {
    [2] = "quarto",
    [3] = "codecompanion"
  },
  inline_highlight = {
    highlight = "Cursor"
  },
  on = {
    attach = <function 1>
  },
  win_options = {
    conceallevel = {
      rendered = 2
    }
  }
}

Plugin error log

N/A

Confirmations

  • I have updated this plugin to the latest version using my plugin manager
  • 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

No response

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