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 @@ -268,25 +268,6 @@ let g:completion_timer_cycle = 200 "default value is 80
268268- You can have different setup for each server in completion-nvim using lua, see [ wiki]
269269(https://github.com/nvim-lua/completion-nvim/wiki/per-server-setup-by-lua ) for more guide.
270270
271- ## Compatibility with diagnostic-nvim
272-
273- - This plugin only focuses on the ** completion** part of the built-in LSP. If
274- you want similar help with diagnostics (e.g. virtual text, jump to diagnostic,
275- open line diagnostic automatically...), take a look at [ diagnostic-nvim] ( https://github.com/haorenW1025/diagnostic-nvim ) .
276-
277- - Both diagnostic-nvim and completion-nvim require setting up via ` on_attach ` .
278- To use them together, create a wrapper function like this.
279-
280- ``` vim
281- lua << EOF
282- local on_attach_vim = function(client)
283- require'completion'.on_attach(client)
284- require'diagnostic'.on_attach(client)
285- end
286- require'nvim_lsp'.pyls.setup{on_attach=on_attach_vim}
287- EOF
288- ```
289-
290271## Trouble Shooting
291272
292273- This plugin is in the early stages and might have unexpected issues.
You can’t perform that action at this time.
0 commit comments