Fix vimscript syntax in README
This commit is contained in:
parent
62a7c1f9b4
commit
04c3505129
23
README.md
23
README.md
@ -1481,16 +1481,19 @@ of [`g:ycm_language_server`](#the-gycm_language_server-option) option. An
|
|||||||
example of a value of this option would be:
|
example of a value of this option would be:
|
||||||
|
|
||||||
```viml
|
```viml
|
||||||
let g:ycm_language_server = [ {
|
let g:ycm_language_server =
|
||||||
'name': 'yaml',
|
\ [
|
||||||
'cmdline': [ '/path/to/yaml/server/yaml-language-server', '--stdio' ],
|
\ {
|
||||||
'filetypes': [ 'yaml' ]
|
\ 'name': 'yaml',
|
||||||
},
|
\ 'cmdline': [ '/path/to/yaml/server/yaml-language-server', '--stdio' ],
|
||||||
{
|
\ 'filetypes': [ 'yaml' ]
|
||||||
'name': 'php',
|
\ },
|
||||||
'cmdline': [ '/path/to/php', '/path/to/php/server/php-language-server.php' ],
|
\ {
|
||||||
'filetypes': [ 'php' ]
|
\ 'name': 'php',
|
||||||
} ]
|
\ 'cmdline': [ '/path/to/php', '/path/to/php/server/php-language-server.php' ],
|
||||||
|
\ 'filetypes': [ 'php' ]
|
||||||
|
\ }
|
||||||
|
\ ]
|
||||||
```
|
```
|
||||||
|
|
||||||
When [configuring a LSP server](#lsp-configuration) the value of the `name` key
|
When [configuring a LSP server](#lsp-configuration) the value of the `name` key
|
||||||
|
Loading…
Reference in New Issue
Block a user