Skip to content

Commit c9e675e

Browse files
author
nvim-orgmode
committed
1 parent 45d9f7c commit c9e675e

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

docs/configuration.org

+22
Original file line numberDiff line numberDiff line change
@@ -2838,3 +2838,25 @@ require('orgmode').setup({
28382838
}
28392839
})
28402840
#+end_src
2841+
2842+
*** Input
2843+
:PROPERTIES:
2844+
:CUSTOM_ID: input
2845+
:END:
2846+
- Type: =boolean=
2847+
- Default: =false=
2848+
2849+
By default, Vim's built-in =input()= function is used for input prompts.
2850+
To use Neovim's =vim.ui.input()= function, add this to config:
2851+
2852+
#+begin_src lua
2853+
require('orgmode').setup({
2854+
ui = {
2855+
input = {
2856+
use_vim_ui = true
2857+
}
2858+
}
2859+
})
2860+
#+end_src
2861+
2862+
📝 NOTE: If you are using a plugin for =vim.ui.input=, make sure it supports autocompletion for better experience. [[https://github.com/folke/snacks.nvim][snacks.nvim]] input module supports autocompletion.

0 commit comments

Comments
 (0)