mhinz / mhinz/vim-startify

Error detected on function `startify#open_buffers`

Open
#559 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
5.4k
Forks
181
PR merge metrics
No merged PRs in 30d

Description

When I have the plugin enabled, I get the following error:

>Error detected while processing function startify#open_buffers[6]..130_open_buffer[12]..BufWinLeave Autocommands for "":
E495: No autocommand file name to substitute for ""

NVim version: 0.10.3

Whilst this doesn't block me using my editor, it's showing the error every time I open a file from the start screen.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the startify#open_buffers function and reproduce the error by opening a file from the start screen with Neovim 0.10.3. Trace the reported BufWinLeave autocommand failure and confirm that opening a file no longer displays the E495 error.

Written by the indexing model from the issue text.

Assessment

Tech stack
vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.