vim language server extension for coc.nvim
npm install coc-vimlsp> vim-language-server
> extension for coc.nvim

!download
- auto completion
- function signature help
- hover document
- go to definition
- go to references
- document symbols
- document highlight
- folding range
- select range
- rename
- snippets
- diagnostic
`` vim`
:CocInstall coc-vimlsp
document highlight:
` vim`
let g:markdown_fenced_languages = [
\ 'vim',
\ 'help'
\]
coc-settings.json
- vimlsp.trace.servervimlsp.debug
> "description": "Trace level of vim language server"
- : default: falsevimlsp.diagnostic.enable
> "description": "enable coc-vimlsp service debug"
- : default: truevimlsp.indexes.runtimepath
> "description": "enable diagnostic"
- : default: truevimlsp.indexes.count
> "description": "if index vim's runtimepath files, this will effect the suggest"
- : default: 3vimlsp.indexes.gap
> "description": "count of files index at the same time, change to greater will speed up index but will cause high CPU usage for some time"
- : default: 100vimlsp.indexes.projectRootPatterns
> "description": "time gap between parse file, change to smaller will speed up index but will cause high CPU usage for some time"
- : default: [".git", "autoload", "plugin"]vimlsp.suggest.fromVimruntime
> "description": "Names of files used as the mark of project root."
- : default: truevimlsp.suggest.fromRuntimepath`: default: false
> "description": "completeitems from runtimepath's vim files, if this is true that fromVimruntime is true" > },
-
> "description": "completeitems from runtimepath's vim files, if this is true that fromVimruntime is true"
Auto complete and function signature help:
Hover document:
Go to definition and references:
!goto
Document symbols:
Document highlight:
Folding range and selection range:
!fold
Rename:
Snippets and diagnostic:
!dia
!btc