famiu/feline.nvim

Error after install

langonginc opened this issue · 4 comments

Neovim version

NVIM v0.8.0
Build type: Release
LuaJIT 2.1.0-beta3
Compiled by brew@Ventura-arm64.local

Describe the bug

I added require('feline').setup() to init.vim, and I restart the Neo-vim.

image

Error detected while processing /Users/wjy/.config/nvim/init.vim:
line   58:
E492: Not an editor command: require('feline').setup()

image

I don't know if I added the line to a wrong file.

Does this error occur in the minimal init file?
Use the following commands to download the minimal init file provided by Feline:
curl -fLO https://raw.githubusercontent.com/feline-nvim/feline.nvim/master/minimal_init.lua

Modify the file to your needs (if necessary), then load Neovim using:
nvim --noplugin -u minimal_init.lua

And check if your issue still occurs.

I didn't got any output (just a blank window).

famiu commented

Did you use :PlugInstall to actually install Feline?

Since you're using init.vim, you've to use lua require('feline').setup().

famiu commented

Since you're using init.vim, you've to use lua require('feline').setup().

Right, that part slipped my mind as well.

Anyway, closing this issue. Please try to at least put minimal effort into solving your problems before opening an issue like this next time.

Thank you very much, QAQ!