Skip to content

Commit

Permalink
(mini.completion) Add note about 'dressing.nvim'.
Browse files Browse the repository at this point in the history
Related to #68.
  • Loading branch information
echasnovski committed May 1, 2022
1 parent 843c77e commit 2bc924d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions doc/mini.txt
Original file line number Diff line number Diff line change
Expand Up @@ -679,6 +679,10 @@ See |MiniCompletion.config| for `config` structure and default values.
`lsp_completion = {source_func = 'omnifunc', auto_setup = false}`.
- In `on_attach()` of every LSP client set 'omnifunc' option to exactly
`v:lua.MiniCompletion.completefunc_lsp`.
- If you have trouble using custom (overriden) |vim.ui.input| (like from
'stevearc/dressing.nvim'), make automated disable of 'mini.completion'
for input buffer. For example, currently for 'dressing.nvim' it can be
with `au FileType DressingInput lua vim.b.minicompletion_disable = true`.

# Comparisons~

Expand Down
4 changes: 4 additions & 0 deletions lua/mini/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@
--- `lsp_completion = {source_func = 'omnifunc', auto_setup = false}`.
--- - In `on_attach()` of every LSP client set 'omnifunc' option to exactly
--- `v:lua.MiniCompletion.completefunc_lsp`.
--- - If you have trouble using custom (overriden) |vim.ui.input| (like from
--- 'stevearc/dressing.nvim'), make automated disable of 'mini.completion'
--- for input buffer. For example, currently for 'dressing.nvim' it can be
--- with `au FileType DressingInput lua vim.b.minicompletion_disable = true`.
---
--- # Comparisons~
---
Expand Down

0 comments on commit 2bc924d

Please sign in to comment.