diff --git a/README.md b/README.md index 273f4f1..7e545ce 100644 --- a/README.md +++ b/README.md @@ -14,6 +14,7 @@ - hover document - go to definition - go to references +- document symbols - document highlight - folding range - select range @@ -21,7 +22,7 @@ - snippets - diagnostic -![image](https://user-images.githubusercontent.com/5492542/57384333-019b9880-71e3-11e9-9ee8-7e731944777b.png) +![autocomplete](https://user-images.githubusercontent.com/5492542/81493984-909c2e80-92d7-11ea-9638-d7be3e18e1d1.gif) ## Install @@ -122,6 +123,42 @@ lsp client config example with coc.nvim - if you don't want to index vim's runtimepath files, set `runtimepath` to `false` and you will not get any suggest from those files. - while `fromRuntimepath` is true, if you have install too many plugins it will slow down the complete +## Usage + +> The screen record is using coc.nvim as LSP client. + +**Auto complete and function signature help**: + +![autocomplete](https://user-images.githubusercontent.com/5492542/81493984-909c2e80-92d7-11ea-9638-d7be3e18e1d1.gif) + +**Hover document**: + +![hover](https://user-images.githubusercontent.com/5492542/81494066-5aab7a00-92d8-11ea-9ccd-31bd6440e622.gif) + +**Go to definition and references**: + +![goto](https://user-images.githubusercontent.com/5492542/81494125-c261c500-92d8-11ea-83c0-fecba34ea55e.gif) + +**Document symbols**: + +![symbols](https://user-images.githubusercontent.com/5492542/81494183-5cc20880-92d9-11ea-9495-a7691420df39.gif) + +**Document highlight**: + +![highlight](https://user-images.githubusercontent.com/5492542/81494214-b1fe1a00-92d9-11ea-9cc1-0420cddc5cbc.gif) + +**Folding range and selection range**: + +![fold](https://user-images.githubusercontent.com/5492542/81494276-3bade780-92da-11ea-8c93-bc3d2127a19d.gif) + +**Rename**: + +![rename](https://user-images.githubusercontent.com/5492542/81494329-aa8b4080-92da-11ea-8a5d-ace5385445e9.gif) + +**Snippets and diagnostic**: + +![dia](https://user-images.githubusercontent.com/5492542/81494408-503eaf80-92db-11ea-96ac-641d46027623.gif) + ## References - [vim-vimlparser](https://github.com/vim-jp/vim-vimlparser) diff --git a/package.json b/package.json index 7b783aa..fff813c 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "vim-language-server", - "version": "1.8.0", + "version": "1.9.0", "description": "vim language server", "keywords": [ "viml",