Skip to content

Commit 4b1f9d4

Browse files
committed
👍 Regenerate function and option
1 parent f30affe commit 4b1f9d4

File tree

9 files changed

+1938
-1683
lines changed

9 files changed

+1938
-1683
lines changed

function/_generated.ts

Lines changed: 866 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

function/common.ts

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -130,16 +130,16 @@ export async function exists(
130130
* **{feature}** argument is a feature name like "nvim-0.2.1" or
131131
* "win32", see below. See also `exists()`.
132132
*
133-
* To get the system name use `vim.loop`.os_uname() in Lua:
133+
* To get the system name use `vim.uv`.os_uname() in Lua:
134134
*
135-
* :lua print(vim.loop.os_uname().sysname)
135+
* print(vim.uv.os_uname().sysname)
136136
*
137137
* If the code has a syntax error then Vimscript may skip the
138138
* rest of the line. Put `:if` and `:endif` on separate lines to
139139
* avoid the syntax error:
140140
*
141141
* if has('feature')
142-
* let x = this->breaks->without->the->feature
142+
* let x = this_breaks_without_the_feature()
143143
* endif
144144
*
145145
* Vim's compile-time feature-names (prefixed with "+") are not
@@ -150,12 +150,16 @@ export async function exists(
150150
* 1. Nvim version. For example the "nvim-0.2.1" feature means
151151
* that Nvim is version 0.2.1 or later:
152152
*
153-
* :if has("nvim-0.2.1")
153+
* if has("nvim-0.2.1")
154+
* " ...
155+
* endif
154156
*
155157
* 2. Runtime condition or other pseudo-feature. For example the
156158
* "win32" feature checks if the current system is Windows:
157159
*
158-
* :if has("win32")
160+
* if has("win32")
161+
* " ...
162+
* endif
159163
*
160164
* List of supported pseudo-feature names:
161165
* acl `ACL` support.
@@ -182,12 +186,16 @@ export async function exists(
182186
* 3. Vim patch. For example the "patch123" feature means that
183187
* Vim patch 123 at the current `v:version` was included:
184188
*
185-
* :if v:version > 602 || v:version == 602 && has("patch148")
189+
* if v:version > 602 || v:version == 602 && has("patch148")
190+
* " ...
191+
* endif
186192
*
187193
* 4. Vim version. For example the "patch-7.4.237" feature means
188194
* that Nvim is Vim-compatible to version 7.4.237 or later.
189195
*
190-
* :if has("patch-7.4.237")
196+
* if has("patch-7.4.237")
197+
* " ...
198+
* endif
191199
*/
192200
export async function has(
193201
denops: Denops,

0 commit comments

Comments
 (0)