Add link to LSP Examples project to README

This commit is contained in:
Ben Jackson 2019-07-15 22:06:02 +01:00 committed by GitHub
parent 349c665390
commit fa92f40d02
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -86,6 +86,7 @@ YouCompleteMe is a fast, as-you-type, fuzzy-search code completion engine for
- a [TSServer][]-based completion engine for JavaScript and TypeScript, - a [TSServer][]-based completion engine for JavaScript and TypeScript,
- a [rls][]-based completion engine for Rust, - a [rls][]-based completion engine for Rust,
- a [jdt.ls][]-based experimental completion engine for Java. - a [jdt.ls][]-based experimental completion engine for Java.
- a [generic Language Server Protocol implementation for any language](#plugging-an-arbitrary-lsp-server)
- and an omnifunc-based completer that uses data from Vim's omnicomplete system - and an omnifunc-based completer that uses data from Vim's omnicomplete system
to provide semantic completions for many other languages (Ruby, PHP etc.). to provide semantic completions for many other languages (Ruby, PHP etc.).
@ -1499,6 +1500,9 @@ let g:ycm_language_server =
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
will be used as the `kwargs[ 'language' ]`. will be used as the `kwargs[ 'language' ]`.
See [the LSP Examples](https://github.com/ycm-core/lsp-examples) project for more
examples of configuring the likes of PHP, Ruby, Kotlin, and D.
#### Using `omnifunc` for semantic completion #### Using `omnifunc` for semantic completion
YCM will use your `omnifunc` (see `:h omnifunc` in Vim) as a source for semantic YCM will use your `omnifunc` (see `:h omnifunc` in Vim) as a source for semantic