Skip to content

Latest commit

 

History

History
75 lines (46 loc) · 1.63 KB

README.md

File metadata and controls

75 lines (46 loc) · 1.63 KB

ReadMe

Installation

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

My neovim configuration

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

Screenshots

start-screen

float-term

cmdline

Changelog

  • 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 工作正常。

FAQ

  1. 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