feline.nvim icon indicating copy to clipboard operation
feline.nvim copied to clipboard

Question: Is this what the status line should look like?

Open chaudry-786 opened this issue 2 years ago • 10 comments

I have just installed and my statusLine looks weird. Is this how it should look be default? Screenshot 2022-07-07 at 11 32 19

chaudry-786 avatar Jul 07 '22 10:07 chaudry-786

First off, there is an example screenshot in the README that shows what the default configuration looks like. Secondly, to answer your question, no, that's not what it should look like, you're probably missing a patched font and/or nvim-web-devicons which are listed in the README. Did you read the README before installing Feline?

famiu avatar Jul 07 '22 10:07 famiu

Thanks for the prompt reply. I was comparing it against that screenshot actually, but thought maybe there is default config somewhere which I have missed.

Secondly, I did read the README

  1. nvim --version NVIM v0.7.0
  2. termguicolors enabled
  3. installed nvim-web-devicons
  4. I'm using patched font: MesloLGS NF

let me know if you need anything else.

chaudry-786 avatar Jul 07 '22 11:07 chaudry-786

what terminal are you using? Can you reproduce this issue in another terminal? If so, can you reproduce this issue with the provided minimal config?

famiu avatar Jul 07 '22 11:07 famiu

I am using iterm2 on mac and I also tried on default ubuntu terminal too. I tried on both terminals within and outside tmux. Here is minimal vim config. " PLUGINS call plug#begin('~/.vim/plugged') Plug 'morhetz/gruvbox' Plug 'feline-nvim/feline.nvim' Plug 'kyazdani42/nvim-web-devicons' call plug#end()

"true colours for nvim in tmux if exists('+termguicolors') let &t_8f = "<Esc>[38;2;%lu;%lu;%lum" let &t_8b = "<Esc>[48;2;%lu;%lu;%lum" set termguicolors endif

lua << EOF require('feline').setup() EOF

chaudry-786 avatar Jul 07 '22 13:07 chaudry-786

Can you try using the minimal config that's provided with Feline and see if the issue still occurs? Maybe also try using a different patched font like Jetbrains Mono Nerd Font?

famiu avatar Jul 07 '22 16:07 famiu

I ran it and this is the error I got at startup:

Error detected while processing /Users/sabah/.vim/plugged/feline.nvim/minimal_init.lua: E5113: Error while calling lua chunk: /Users/sabah/.vim/plugged/feline.nvim/minimal_init.lua:52: invalid value for option stack traceback: [C]: in function '__newindex' /Users/sabah/.vim/plugged/feline.nvim/minimal_init.lua:52: in main chunk

chaudry-786 avatar Jul 07 '22 16:07 chaudry-786

Do I need to have packer installed? I'm currently using vim-plug.

chaudry-786 avatar Jul 07 '22 16:07 chaudry-786

Do I need to have packer installed? I'm currently using vim-plug.

The minimal configuration should automatically install packer in the temp directory, so you don't have to worry about that

famiu avatar Jul 07 '22 17:07 famiu

I am getting same error on Ubuntu terminal with JetBrains Mono NF for minimal config.

Error detected while processing /home/sabah/.vim/plugged/feline.nvim/minimal_init.lua: E5113: Error while calling lua chunk: /home/sabah/.vim/plugged/feline.nvim/minimal_init.lua:52: invalid value for option stack traceback: [C]: in function '__newindex' /home/sabah/.vim/plugged/feline.nvim/minimal_init.lua:52: in main chunk Press ENTER or type command to continue

chaudry-786 avatar Jul 07 '22 21:07 chaudry-786

I am getting same error on Ubuntu terminal with JetBrains Mono NF for minimal config.

Error detected while processing /home/sabah/.vim/plugged/feline.nvim/minimal_init.lua: E5113: Error while calling lua chunk: /home/sabah/.vim/plugged/feline.nvim/minimal_init.lua:52: invalid value for option stack traceback: [C]: in function '__newindex' /home/sabah/.vim/plugged/feline.nvim/minimal_init.lua:52: in main chunk Press ENTER or type command to continue

Can you try again on the latest commit of Feline?

famiu avatar Jul 11 '22 09:07 famiu

Closing issue due to inactivity

famiu avatar Aug 17 '22 14:08 famiu