Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] Neovim
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
gjy0724
Apprentice
Apprentice


Joined: 11 Jun 2005
Posts: 165
Location: Lock Haven, Pennsylvania

PostPosted: Tue Nov 14, 2023 4:14 pm    Post subject: [SOLVED] Neovim Reply with quote

All,

Recently I have decided to dabble with neovim, version 0.9.2 as of this writing. The install went fine, however I get the following after executing nvim with absolutely no configuration. I was hoping someone would have seen this and worked out a solution or at least point me in the right direction. I did notice that the comments in the /usr/share/vim/vim90/ftplugin.vim used # instead of ", changing them did solve part of the problem but not enough to clear the remaining errors.

I am not sure if this is a bug or just a conflict that is part of my config.

Thanks.

Code:
"noclear" [New]
Cannot open file "noclear"
Error detected while processing /usr/share/vim/vim90/ftplugin.vim:
line    1:
E480: No match: 9script
line    3:
E488: Trailing characters: Vim support file to switch on loading plugins for file types: # Vim su
pport file to switch on loading plugins for file types
line    4:
E749: empty buffer
line    5:
E488: Trailing characters: Maintainer:^IBram Moolenaar <Bram@vim.org>: # Maintainer:^IBram Moolen
aar <Bram@vim.org>
line    6:
E488: Trailing characters: Last change:^I2022 Feb 11: # Last change:^I2022 Feb 11
Pattern not found: did_load_ftplugin = 1
line   18:
E488: Trailing characters: No need to define the function again.:   # No need to define the funct
ion again.
line   22:
E492: Not an editor command: def LoadFTPlugin()
line   24:
E488: Trailing characters: We assume b:undo_ftplugin is using legacy script syntax:     # We assu
me b:undo_ftplugin is using legacy script syntax
line   29:
E492: Not an editor command:   var s = expand("<amatch>")
line   30:
E121: Undefined variable: s
line   43:
E492: Not an editor command: enddef
Error detected while processing /usr/share/vim/vim90/indent.vim:
line   15:
E492: Not an editor command: def s:LoadIndent()
line   20:
E492: Not an editor command:   var s = expand("<amatch>")
line   21:
E121: Undefined variable: s
line   32:
E492: Not an editor command: enddef


Last edited by gjy0724 on Thu Dec 28, 2023 4:12 am; edited 1 time in total
Back to top
View user's profile Send private message
gjy0724
Apprentice
Apprentice


Joined: 11 Jun 2005
Posts: 165
Location: Lock Haven, Pennsylvania

PostPosted: Thu Dec 28, 2023 4:12 am    Post subject: Reply with quote

Okay, I am not quite sure why I didn't think of this before but it appears that my .vimrc is calling those two plugins and they are causing the errors within start-up of neovim. Disregard!

CORRECTION: The real reason was setting of the VIMRUNTIME environment variable.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum