ubuntu 24.04 的 nodee 版本是 18。copilot for vim 要 20.X,
所以要手動 upgrade. ref: 大概就是先 remove nodejs…然後 run
curl -fsSL https://deb.nodesource.com/setup_20.x | sudo -E bash -然後再 apt install nodejs
裝完是 20.19
進入 vi 後
:Copilot help會 show copilot command,就是 copilot.txt。
要先 authenticate..
:Copilot setup果然不知道怎麽用...
告訴它
:set filetype=c看狀態
:Copilot status
沒有留言:
張貼留言