1995parham / dotfiles

:rocket: @1995parham Linux / OSx configurations files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error occurred while runing ./start.sh env and vim can't find naz color scheme

geekn0rd opened this issue · comments

First of all thanks for sharing your dotfiles with the world:)

[env] dependencies: neovim
[env] do you want to install dependencies?[Y/n] Y
[neovim] install edge version of neovim and general checkers/linters
_
_ __ ___ _____ ()_ __ ___
| |_ \ / _ / _ \ \ / / | |_ ` _
| | | | / () \ V /| | | | | | |
|
| |_|_
|___/ _/ ||| || ||

[neovim] dependencies: node shell
[neovim] do you want to install dependencies?[Y/n] Y
[node] install nodejs, remembers neovim-coc always needs nodejs

             _

_ __ ___ | | ___
| |
\ / _ \ / | |/ _
| | | | (
) | (| | __/
|
| |_|_
/ _||__|

[node] linux with apt (ubuntu?)
[node] installing node from its official apt repository

Installing the NodeSource Node.js 16.x repo...

Populating apt-get cache...

@geekn0rd Thanks for using my dotfiles, I think the issue is related to apt installation of nodejs, you can bypass this section by saying no to see what happens next and let me know.

@1995parham I had some obsolete apt repositories, I removed them and it works fine :),
now the issue is when I want to use vim or nvim:

nvim:

E5113: Error while calling lua chunk: /home/amir-ali/.config/nvim/lua/c
.lua:4: module 'which-key' not found:
no field package.preload['which-key']
no file './which-key.lua'
no file '/home/runner/work/neovim/neovim/.deps/usr/share/luajit
ta3/which-key.lua'
no file '/usr/local/share/lua/5.1/which-key.lua'
no file '/usr/local/share/lua/5.1/which-key/init.lua'
no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.
ey.lua'-k
no file '/home/runner/work/neovim/neovim/.deps/usr/share/lua/5.
ey/init.lua'
no file './which-key.so'
no file '/usr/local/lib/lua/5.1/which-key.so'
no file '/home/runner/work/neovim/neovim/.deps/usr/lib/lua/5.1/
.so'h-key
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/home/amir-ali/.config/nvim/lua/config/key.lua:4: in main chunk
[C]: in function 'require'
-- More --

vim (I found naz color scheme on your GitHub bu couldn't install it):

Error detected while processing /home/amir-ali/.vimrc:
line 181:
E185: Cannot find color scheme 'naz'
Press ENTER or type command to continue

Sure, In this step you must install the required packages with :PacketSync as neovim command, it will install the required packages like naz and etc.

Thanks again, :PacketSync on nvim and :PlugInstall on vim made it work,
there's only one thing remaining :) all the icons are missing e.g. tab section in vim
doesn't have the 'x' icon, cpu diagram is missing etc.
last

I always use neovim so I didn't pay attention to vim font issue but you can try the following

./start.sh font

to install some useful fonts but I am not sure that it can solve this issue. Also again thanks for using my dotfiles and it would be great if you can create a PR for your issues so others can solve them faster

Have to say it this was my 1st PR, :))
I appreciate the opportunity.