This repository was archived by the owner on Oct 13, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Expand file tree Collapse file tree 1 file changed +0
-19
lines changed Original file line number Diff line number Diff line change @@ -269,25 +269,6 @@ let g:completion_timer_cycle = 200 "default value is 80
269
269
- You can have different setup for each server in completion-nvim using lua, see [ wiki]
270
270
(https://github.com/nvim-lua/completion-nvim/wiki/per-server-setup-by-lua ) for more guide.
271
271
272
- ## Compatibility with diagnostic-nvim
273
-
274
- - This plugin only focuses on the ** completion** part of the built-in LSP. If
275
- you want similar help with diagnostics (e.g. virtual text, jump to diagnostic,
276
- open line diagnostic automatically...), take a look at [ diagnostic-nvim] ( https://github.com/haorenW1025/diagnostic-nvim ) .
277
-
278
- - Both diagnostic-nvim and completion-nvim require setting up via ` on_attach ` .
279
- To use them together, create a wrapper function like this.
280
-
281
- ``` vim
282
- lua << EOF
283
- local on_attach_vim = function(client)
284
- require'completion'.on_attach(client)
285
- require'diagnostic'.on_attach(client)
286
- end
287
- require'nvim_lsp'.pyls.setup{on_attach=on_attach_vim}
288
- EOF
289
- ```
290
-
291
272
## Trouble Shooting
292
273
293
274
- This plugin is in the early stages and might have unexpected issues.
You can’t perform that action at this time.
0 commit comments