-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mac OS 安装配置时的问题 #34
Comments
/Users/zyzy/.config/nvim/lua/archvim/options.lua:149
删除这一行即可
colorscheme zephyr
无法顺畅的大口呼吸,是活着的最好证明
…---原始邮件---
发件人: ***@***.***>
发送时间: 2024年9月13日(周五) 中午12:35
收件人: ***@***.***>;
抄送: ***@***.***>;
主题: [archibate/vimrc] Mac OS 安装配置时的问题 (Issue #34)
使用命令行安装nvim配置:
Last login: Fri Sep 13 11:46:42 on ttys000
❯ test -f ~/.config/nvim && mv ~/.config/nvim{,.backup}
git clone https://github.com/archibate/vimrc ~/.config/nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
bash ~/.config/nvim/install_deps.sh
fatal: destination path '/Users/zyzy/.config/nvim' already exists and is not an empty directory.
fatal: destination path '/Users/zyzy/.local/share/nvim/site/pack/packer/start/packer.nvim' already exists and is not an empty directory.
-- Automatically installing ArchVim system dependencies...
-- Linux distro detected: MacOS
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api/formul
#=#=#
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api/cask.j
#=#=#
Warning: ripgrep 14.1.1 is already installed and up-to-date.
To reinstall 14.1.1, run:
brew reinstall ripgrep
Warning: fzf 0.55.0 is already installed and up-to-date.
To reinstall 0.55.0, run:
brew reinstall fzf
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the --cask flag.
Warning: cmake 3.30.3 is already installed and up-to-date.
To reinstall 3.30.3, run:
brew reinstall cmake
Warning: make 4.4.1 is already installed and up-to-date.
To reinstall 4.4.1, run:
brew reinstall make
Warning: git 2.46.0 is already installed and up-to-date.
To reinstall 2.46.0, run:
brew reinstall git
Warning: gcc 14.2.0 is already installed and up-to-date.
To reinstall 14.2.0, run:
brew reinstall gcc
Warning: ***@***.*** 3.12.6 is already installed and up-to-date.
To reinstall 3.12.6, run:
brew reinstall ***@***.***
Warning: curl 8.10.0 is already installed and up-to-date.
To reinstall 8.10.0, run:
brew reinstall curl
Warning: No available formula with the name "clangd". Did you mean clangql or cling?
==> Searching for similarly named formulae and casks...
==> Formulae
clangql cling
To install clangql, run:
brew install clangql
Warning: node 22.8.0 is already installed and up-to-date.
To reinstall 22.8.0, run:
brew reinstall node
Warning: node 22.8.0 is already installed and up-to-date.
To reinstall 22.8.0, run:
brew reinstall node
Warning: lua-language-server 3.10.6 is already installed and up-to-date.
To reinstall 3.10.6, run:
brew reinstall lua-language-server
Requirement already satisfied: pyright in /Users/zyzy/anaconda3/lib/python3.10/site-packages (1.1.380)
Requirement already satisfied: nodeenv>=1.6.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pyright) (1.9.1)
Requirement already satisfied: cmake-language-server in /Users/zyzy/anaconda3/lib/python3.10/site-packages (0.1.10)
Requirement already satisfied: pygls>=1.1.1 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from cmake-language-server) (1.3.1)
Requirement already satisfied: cattrs>=23.1.2 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pygls>=1.1.1->cmake-language-server) (24.1.1)
Requirement already satisfied: lsprotocol==2023.0.1 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pygls>=1.1.1->cmake-language-server) (2023.0.1)
Requirement already satisfied: attrs>=21.3.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from lsprotocol==2023.0.1->pygls>=1.1.1->cmake-language-server) (24.2.0)
Requirement already satisfied: typing-extensions!=4.6.3,>=4.1.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from cattrs>=23.1.2->pygls>=1.1.1->cmake-language-server) (4.4.0)
Requirement already satisfied: exceptiongroup>=1.1.1 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from cattrs>=23.1.2->pygls>=1.1.1->cmake-language-server) (1.2.2)
Requirement already satisfied: pynvim in /Users/zyzy/anaconda3/lib/python3.10/site-packages (0.5.0)
Requirement already satisfied: greenlet>=3.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pynvim) (3.1.0)
Requirement already satisfied: msgpack>=0.5.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pynvim) (1.0.3)
-- System dependency installation complete!
~ ✔ 22s base 11:48:23
键入nvim命令报错:
Error detected while processing /Users/zyzy/.config/nvim/init.vim:
line 3:
E5108: Error executing lua vim/_editor.lua:0: /Users/zyzy/.config/nvim/init.vim[3]..nvim_exec2() called at /Users/zyzy/.config/nvim/init.v
im:3: Vim(colorscheme):E185: Cannot find color scheme 'zephyr'
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
/Users/zyzy/.config/nvim/lua/archvim/options.lua:149: in main chunk
[C]: in function 'require'
/Users/zyzy/.config/nvim/lua/archvim/init.lua:5: in main chunk
[C]: in function 'require'
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
求救 …… 现在跟开宝箱的时候钥匙死活捅不进去一样难受
需要提供更多信息的话请吩咐
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
删除这行之后,又反复运行:PackerUpdate :PackerCompile等,最后:checkhealth结果如下。几个Error影响使用吗? ============================================================================== dap: Adapters ~ dap.adapter: node2 ~
dap.adapter: python ~
dap.adapter: bashdb ~
dap.adapter: codelldb ~
dap: Sessions ~
============================================================================== Checking plugin dependencies ~
Checking VCS tools ~
============================================================================== fzf-lua [required] ~
fzf-lua [optional] ~
fzf-lua [optional:media] ~
fzf-lua [env] ~
============================================================================== Ensuring keys are unique ~
Checking for deprecated features ~
============================================================================== luasnip ~
============================================================================== mason.nvim ~
mason.nvim [Registries] ~
mason.nvim [Core utils] ~
mason.nvim [Languages] ~
mason.nvim [GitHub] ~
============================================================================== neoconf.nvim ~
============================================================================== Configuration ~
Runtime ~
Performance ~
Remote Plugins ~
terminal ~
External Tools ~
============================================================================== Installation ~
OS Info: Parser/Features H L F I J
Legend: H[ighlight], L[ocals], F[olds], I[ndents], In[j]ections ============================================================================== Clipboard (optional) ~
============================================================================== Node.js provider (optional) ~
============================================================================== Perl provider (optional) ~
============================================================================== Python 3 provider (optional) ~
Python virtualenv ~
============================================================================== Ruby provider (optional) ~
============================================================================== Checking for required plugins ~
Checking external dependencies ~
===== Installed extensions ===== ~ Telescope Extension:
==============================================================================
vim.lsp: Active Clients ~
vim.lsp: File Watcher ~
vim.lsp: Position Encodings ~
==============================================================================
==============================================================================
Checking your config ~
Checking for issues with your mappings ~
checking for overlapping keymaps ~
Checking for duplicate mappings ~
|
/Users/zyzy/.local/share/nvim/mason/packages/codelldb/codelldb |
1. codelldb不存在 2.parser目录下只有so文件,运行:TSInstall cpp后(nvim中reinstall,没有报错),也没有cpp.dylib;ls ……parser目录始终内容如下: |
附上 :MasonLog 的结果: [ERROR Fri Sep 13 19:30:22 2024] ...pack/packer/start/mason.nvim/lua/mason-registry/init.lua:79: Cannot find package ""pyright"". |
谢谢你,我决定把mason去掉了,反正我的脚本已经自动安装了clangd,没必要再让mason钩叫。 |
运行 |
窗口调整位置,没试出来,Warning,是什么warning? |
视频中介绍的内容基本都测完了,更新在: |
对不起!我漏加了mac和mic,晚上到家我会重新发布一份正确的。 Mac的opt确实有点问题,要不我把Alt的键位都换成Ctrl+Shift吧? |
带爬虫的播放按钮是调试,需要安装codelldb,这部分我的脚本里还没来得及写,如果你知道brew怎么安装codelldb的话,可以这里留言一下,晚上我就加上。 |
sorry,我不会。也许下面链接会有启发: |
使用命令行安装nvim配置:
Last login: Fri Sep 13 11:46:42 on ttys000
❯ test -f ~/.config/nvim && mv ~/.config/nvim{,.backup}
git clone https://github.com/archibate/vimrc ~/.config/nvim
git clone --depth 1 https://github.com/wbthomason/packer.nvim ~/.local/share/nvim/site/pack/packer/start/packer.nvim
bash ~/.config/nvim/install_deps.sh
fatal: destination path '/Users/zyzy/.config/nvim' already exists and is not an empty directory.
fatal: destination path '/Users/zyzy/.local/share/nvim/site/pack/packer/start/packer.nvim' already exists and is not an empty directory.
-- Automatically installing ArchVim system dependencies...
-- Linux distro detected: MacOS
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api/formul
#=#=#
==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api/cask.j
#=#=#
Warning: ripgrep 14.1.1 is already installed and up-to-date.
To reinstall 14.1.1, run:
brew reinstall ripgrep
Warning: fzf 0.55.0 is already installed and up-to-date.
To reinstall 0.55.0, run:
brew reinstall fzf
Warning: Treating cmake as a formula. For the cask, use homebrew/cask/cmake or specify the
--cask
flag.Warning: cmake 3.30.3 is already installed and up-to-date.
To reinstall 3.30.3, run:
brew reinstall cmake
Warning: make 4.4.1 is already installed and up-to-date.
To reinstall 4.4.1, run:
brew reinstall make
Warning: git 2.46.0 is already installed and up-to-date.
To reinstall 2.46.0, run:
brew reinstall git
Warning: gcc 14.2.0 is already installed and up-to-date.
To reinstall 14.2.0, run:
brew reinstall gcc
Warning: [email protected] 3.12.6 is already installed and up-to-date.
To reinstall 3.12.6, run:
brew reinstall [email protected]
Warning: curl 8.10.0 is already installed and up-to-date.
To reinstall 8.10.0, run:
brew reinstall curl
Warning: No available formula with the name "clangd". Did you mean clangql or cling?
==> Searching for similarly named formulae and casks...
==> Formulae
clangql cling
To install clangql, run:
brew install clangql
Warning: node 22.8.0 is already installed and up-to-date.
To reinstall 22.8.0, run:
brew reinstall node
Warning: node 22.8.0 is already installed and up-to-date.
To reinstall 22.8.0, run:
brew reinstall node
Warning: lua-language-server 3.10.6 is already installed and up-to-date.
To reinstall 3.10.6, run:
brew reinstall lua-language-server
Requirement already satisfied: pyright in /Users/zyzy/anaconda3/lib/python3.10/site-packages (1.1.380)
Requirement already satisfied: nodeenv>=1.6.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pyright) (1.9.1)
Requirement already satisfied: cmake-language-server in /Users/zyzy/anaconda3/lib/python3.10/site-packages (0.1.10)
Requirement already satisfied: pygls>=1.1.1 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from cmake-language-server) (1.3.1)
Requirement already satisfied: cattrs>=23.1.2 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pygls>=1.1.1->cmake-language-server) (24.1.1)
Requirement already satisfied: lsprotocol==2023.0.1 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pygls>=1.1.1->cmake-language-server) (2023.0.1)
Requirement already satisfied: attrs>=21.3.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from lsprotocol==2023.0.1->pygls>=1.1.1->cmake-language-server) (24.2.0)
Requirement already satisfied: typing-extensions!=4.6.3,>=4.1.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from cattrs>=23.1.2->pygls>=1.1.1->cmake-language-server) (4.4.0)
Requirement already satisfied: exceptiongroup>=1.1.1 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from cattrs>=23.1.2->pygls>=1.1.1->cmake-language-server) (1.2.2)
Requirement already satisfied: pynvim in /Users/zyzy/anaconda3/lib/python3.10/site-packages (0.5.0)
Requirement already satisfied: greenlet>=3.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pynvim) (3.1.0)
Requirement already satisfied: msgpack>=0.5.0 in /Users/zyzy/anaconda3/lib/python3.10/site-packages (from pynvim) (1.0.3)
-- System dependency installation complete!
~ ✔ 22s base 11:48:23
键入nvim命令报错:
Error detected while processing /Users/zyzy/.config/nvim/init.vim:
line 3:
E5108: Error executing lua vim/_editor.lua:0: /Users/zyzy/.config/nvim/init.vim[3]..nvim_exec2() called at /Users/zyzy/.config/nvim/init.v
im:3: Vim(colorscheme):E185: Cannot find color scheme 'zephyr'
stack traceback:
[C]: in function 'nvim_exec2'
vim/_editor.lua: in function 'cmd'
/Users/zyzy/.config/nvim/lua/archvim/options.lua:149: in main chunk
[C]: in function 'require'
/Users/zyzy/.config/nvim/lua/archvim/init.lua:5: in main chunk
[C]: in function 'require'
[string ":lua"]:1: in main chunk
Press ENTER or type command to continue
求救 …… 现在跟开宝箱的时候钥匙死活捅不进去一样难受
需要提供更多信息的话请吩咐
The text was updated successfully, but these errors were encountered: