File tree 2 files changed +25
-5
lines changed
2 files changed +25
-5
lines changed Original file line number Diff line number Diff line change @@ -2850,6 +2850,29 @@ this to config:
2850
2850
<
2851
2851
2852
2852
2853
+ Input *orgmode-Input*
2854
+
2855
+ - Type: `boolean `
2856
+ - Default: `false`
2857
+
2858
+ By default, Vim's built-in `input ()` function is used for input prompts. To use
2859
+ Neovim's `vim .ui.input ()` function, add this to config:
2860
+
2861
+ >lua
2862
+ require('orgmode' ).setup({
2863
+ ui = {
2864
+ input = {
2865
+ use_vim_ui = true
2866
+ }
2867
+ }
2868
+ })
2869
+ <
2870
+
2871
+ 📝 NOTE: If you are using a plugin for `vim .ui.input ` , make sure it supports
2872
+ autocompletion for better experience. snacks.nvim
2873
+ <https://github.com/folke/snacks.nvim > input module supports autocompletion.
2874
+
2875
+
2853
2876
==============================================================================
2854
2877
2. Troubleshooting *orgmode-troubleshooting*
2855
2878
Original file line number Diff line number Diff line change @@ -29,10 +29,7 @@ OrgApi.refile({opts}) *OrgApi.refile*
29
29
If executed from capture buffer, it will close the capture buffer
30
30
31
31
Parameters: ~
32
- {opts} (OrgApiRefileOpts)
33
-
34
- Returns: ~
35
- (boolean)
32
+ {opts} (OrgApiRefileOpts) @return OrgPromise<boolean>
36
33
37
34
38
35
OrgApi.insert_link() *OrgApi.insert_link*
@@ -44,7 +41,7 @@ OrgApi.insert_link() *OrgApi.insert_link*
44
41
If <in_file_location> is *<headline> , <headline> is used as prefilled description for the link.
45
42
If <protocol> is id, this format can also be used to pass a prefilled description.
46
43
@param link_location string
47
- @return boolean
44
+ @return OrgPromise < boolean>
48
45
49
46
50
47
OrgApiFile *OrgApiFile*
You can’t perform that action at this time.
0 commit comments