In Windows:
cd ~\AppData\Local\
git clone https://github.com/opengit/nvim.git
In Linux or macOS:
cd ~/.config/
git clone https://github.com/opengit/nvim.git
In my development environment, I will install the following plugins:
:CocInstall @yaegassy/coc-pylsp coc-sumneko-lua coc-html-css-support coc-pairs coc-snippets coc-prettier coc-tsserver coc-json coc-emmet coc-markdown-preview-enhanced coc-markdownlint coc-webview
If the support of Python or Lua is not enough, it is necessary to install language server:
:CocCommand pylsp.installServer
:CocCommand sumneko-lua.install
- 2024-04-11 00:23
从
nvim-lspconfig
迁移至coc.nvim
。
- 2024-06-27 16:39
完善了一下使用文档。
- 2024-07-02 01:09
Python 的支持转为使用
coc-pylsp
。
- 2024-08-16 17:00
最近清理了无效配置代码段,添加了
coc-webview
让 markdown-preview-enhanced 工作正常。
- Error:
Vim(source):No C compiler found! "cc", "gcc", "clang", "cl", "zig" are not executable.
.
In Windows:
Set-ExecutionPolicy Bypass -Scope Process -Force; [System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072; iex ((New-Object System.Net.WebClient).DownloadString('https://chocolatey.org/install.ps1'))
choco install mingw -y
In Linux(Ubuntu):
sudo apt-get install build-essential