ayamir / nvimdots

A well configured and structured Neovim.
BSD 3-Clause "New" or "Revised" License
2.84k stars 455 forks source link

Error when add new plugin's config by `require("configs.editor.xxx")` #1030

Closed ayamir closed 9 months ago

ayamir commented 9 months ago

Version confirmation

Following prerequisites

Not a user config issue

Neovim version

NVIM v0.9.4

Operating system/version

Archlinux

Terminal name/version

wezterm 20230712-072601-f4abf8fd

$TERM environment variable

screen-256color

Branch info

main (Default/Latest)

Fetch Preferences

HTTPS (use_ssh = false)

How to reproduce the issue

Add a new plugin like todo-comments according to the wiki.

Expected behavior

No error.

Actual behavior

image

Additional information

Using require("user.configs.editor.todo-comments") will work.

But I don't know why we specially emphasized it here which is wrong.

ayamir commented 9 months ago

@Jint-lzxy @CharlesChiuGit @misumisumi

Jint-lzxy commented 9 months ago

Sorry for the slip - the searcher function for locating user configs was actually ill-formed. #1032 should fix this.