From 6c5f19bf6524fc38c4288858f9f03c0fbc325556 Mon Sep 17 00:00:00 2001 From: Oxbian Date: Sat, 2 Dec 2023 22:03:41 +0100 Subject: ADD: CoC Lsp, and update README --- README.md | 28 +++++++++++++--------------- 1 file changed, 13 insertions(+), 15 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index 39817e3..ba83d11 100644 --- a/README.md +++ b/README.md @@ -22,18 +22,17 @@ This config has just the necessary plugins installed: ### Themes - [OneDark](https://github.com/joshdick/onedark.vim) onedark theme. +- [Zenbones](https://github.com/mcchrish/zenbones.nvim) zenbones theme. ### Graphics utilities - [Vim which key](https://github.com/liuchengxu/vim-which-key) show leader keybinds in a GUI. - [Vim gitgutter](https://github.com/airblade/vim-gitgutter) to see diff between files with git. +- [Css color](https://github.com/ap/vim-css-color) preview css colors. ### LSP -- [Vim-lsp](https://github.com/prabirshrestha/vim-lsp) linter & formatter for language. -- [Vim-lsp settings](https://github.com/mattn/vim-lsp-settings) easily setup lsp servers for languages. -- [Asyncomplete](https://github.com/prabirshrestha/asyncomplete.vim) async autocompletion -- [Asyncomplete & lsp-vim](https://github.com/prabirshrestha/asyncomplete-lsp.vim) use vim-lsp as source for autocompletion lsp server. +- [CoC](https://github.com/neoclide/coc.nvim) a LSP plugin that work like VsCode LSP, and in Node (yeah I don't like it too but no choice...). - [Vim Wakatime](https://github.com/wakatime/vim-wakatime) to have wakatime time tracking in vim. ### Languages utilities @@ -112,18 +111,17 @@ Hunks are the difference between your file and the git file. ### LSP -For help, use `:help vim-lsp`. +For help, use `:help coc`. Keybinds: -- `ld` go to the definition, -- `lnd` go to the next diagnostic, -- `lpd` go to the previous diagnostic, -- `lf` go to the reference, -- `lr` rename element, -- `ls` stop lsp server, -- `lp` peek a view to the definition, -- `la` code action, -- `lh` lsp hover, -- `ldf` format document. +- `gd` go to the definition, +- `gn` go to the next diagnostic, +- `gp` go to the previous diagnostic, +- `gr` go to the reference, +- `gR` rename element, +- `gy` type definition, +- `gi` go to implementation, +- `gh` documentation, +- `gf` format document. ## Linters & fixers -- cgit v1.2.3