coc-vimlsp
年糕小豆汤vim language server extension for coc.nvim
Published Package Summary
vim language server extension
vim-language-server extension for coc.nvim

Features
- auto completion
- function signature help
- hover document
- go to definition
- go to references
- document symbols
- document highlight
- folding range
- select range
- rename
- snippets
- diagnostic
Install
:CocInstall coc-vimlsp
Config
document highlight:
let g:markdown_fenced_languages = [
\ 'vim',
\ 'help'
\]
coc-settings.json
vimlsp.trace.server"description": "Trace level of vim language server"
vimlsp.debug: default: false"description": "enable coc-vimlsp service debug"
vimlsp.diagnostic.enable: default: true"description": "enable diagnostic"
vimlsp.indexes.runtimepath: default: true"description": "if index vim's runtimepath files, this will effect the suggest"
vimlsp.indexes.count: default: 3"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"
vimlsp.indexes.gap: default: 100"description": "time gap between parse file, change to smaller will speed up index but will cause high CPU usage for some time"
vimlsp.indexes.projectRootPatterns: default: [".git", "autoload", "plugin"]"description": "Names of files used as the mark of project root."
vimlsp.suggest.fromVimruntime:default: true"description": "completeitems from runtimepath's vim files, if this is true that fromVimruntime is true" > },
vimlsp.suggest.fromRuntimepath: default: false"description": "completeitems from runtimepath's vim files, if this is true that fromVimruntime is true"
Usage
Auto complete and function signature help:

Hover document:

Go to definition and references:

Document symbols:

Document highlight:

Folding range and selection range:

Rename:

Snippets and diagnostic:

Buy Me A Coffee ☕️

- vim language server extension for coc.nvim
- onLanguage:vim
Want to build, test, or contribute to coc.nvim extensions? Explore our official SDK and testing toolkits.
Open Developer GuideVersion History
This published npm package does not include a history.md or changelog.md file. Browse its npm versions or repository releases for available release information.
Contributed Commands
All contributes.commands entries from the published package manifest for coc-vimlsp@0.13.1.
This package does not declare any contributed commands.
Configuration Schema
All contributes.configuration entries from the published package manifest, including each raw property schema for coc-settings.json.
Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "enable coc-vimlsp service debug"
}Raw JSON Schema
{
"type": "array",
"items": {
"type": "string"
},
"default": [
"vim"
],
"description": "enable coc-vimlsp for filetypes"
}Raw JSON Schema
{
"type": "number",
"default": 100,
"description": "time gap between parse file, change to smaller will speed up index but will cause high CPU usage for some time"
}Raw JSON Schema
{
"enum": [
"off",
"messages",
"verbose"
],
"type": "string",
"default": "off",
"description": "Trace level of vim language server"
}Raw JSON Schema
{
"type": "number",
"default": 1,
"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"
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "enable diagnostic"
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "if index vim's runtimepath files, this will effect the suggest"
}Raw JSON Schema
{
"type": "boolean",
"default": true,
"description": "completeitems from vimruntime's vim files"
}Raw JSON Schema
{
"type": "boolean",
"default": false,
"description": "completeitems from runtimepath's vim files, if this is true that fromVimruntime is true"
}Raw JSON Schema
{
"type": "array",
"items": {
"type": "string"
},
"default": [
".git",
"autoload",
"plugin"
],
"description": "Names of files used as the mark of project root."
}