Skip to content

neo-tree raises error related to markdownlint. #1560

Closed
@ChrisTaylorDeveloper

Description

@ChrisTaylorDeveloper

Before Reporting an Issue

  • I have read the kickstart.nvim README.md.

  • I have read the appropriate plugin's documentation.

  • I have searched that this issue has not been reported before.

  • [ x] By checking this, I confirm that the above steps are completed. I understand leaving this unchecked will result in this report being closed immediately.

Describe the bug

When using neo-tree inside Kickstart, I get strange errors relating to markdownlint. The error seems to occur when opening a new file or switching buffers. It's not clear to me but the error may appear after attempting to open a markdown file.

E5108: Lua: ...hare/nvim/lazy/neo-tree.nvim/lua/neo-tree/utils/init.lua:799: BufEnter Autocommands for "*": Vim(append):Error running markdownlint: ENOENT: no such file or directory
stack traceback:
        [C]: in function 'nvim_set_current_win'
        ...hare/nvim/lazy/neo-tree.nvim/lua/neo-tree/utils/init.lua:799: in function 'open_file'
        ...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:757: in function 'open'
        ...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:779: in function 'open_with_cmd'
        ...y/neo-tree.nvim/lua/neo-tree/sources/common/commands.lua:788: in function 'open'
        ...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:186: in function <...o-tree.nvim/lua/neo-tree/sources/filesystem/commands.lua:185>

To Reproduce

  1. Remove all neovim config and files, everywhere on my system.
  2. Fresh install of Kickstart.
  3. Enable neo-tree.
  4. Open and then switch between files, including a markdown file.

Desktop

  • OS: Ubunty
  • Terminal: Kitty

Neovim Version

I get the same error with both 0.11.1 and nightly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions