Fix vimscript syntax in README

This commit is contained in:
Ben Jackson 2019-07-05 20:47:02 +01:00 committed by GitHub
parent 62a7c1f9b4
commit 04c3505129
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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