Skip to content

Commit 26d4c7e

Browse files
authored
Merge pull request #232 from vim-denops/fix-docs
🐛 Re-export `BatchError` class and fix documentation of `buffer.concrete`
2 parents a7ea418 + 9014dca commit 26d4c7e

File tree

3 files changed

+8
-12
lines changed

3 files changed

+8
-12
lines changed

argument/mod.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/**
22
* A module to handle Vim's command arguments like the followings.
33
*
4-
* ```vim
4+
* ```
55
* :MyCommand ++enc=sjis ++ff=dos -f --foo=foo --bar=bar --bar=baz hello world
66
* ```
77
*
@@ -10,7 +10,7 @@
1010
*
1111
* For example:
1212
*
13-
* ```vim
13+
* ```
1414
* command! -nargs=* MyCommand call denops#request("myplugin", "test", [[<f-args>]])
1515
* ```
1616
*
@@ -60,6 +60,7 @@
6060
* };
6161
* }
6262
* ```
63+
*
6364
* @module
6465
*/
6566
import { Opts, parseOpts } from "./opts.ts";

buffer/buffer.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -388,11 +388,6 @@ export interface ReplaceOptions {
388388
/**
389389
* Concrete the buffer.
390390
*
391-
* - The `buftype` option become "nofile"
392-
* - The `swapfile` become disabled
393-
* - The `modifiable` become disabled
394-
* - The content of the buffer is restored on `BufReadCmd` synchronously
395-
*
396391
* Vim will discard the content of a non-file buffer when `:edit` is invoked. Use
397392
* this function to concrete the content of such buffer to prevent this discard.
398393
*

mod.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
*/
6060

6161
// Re-export
62-
export type {
62+
export {
6363
BatchError,
64-
Context,
65-
Denops,
66-
Dispatcher,
67-
Meta,
64+
type Context,
65+
type Denops,
66+
type Dispatcher,
67+
type Meta,
6868
} from "https://deno.land/x/denops_core@v6.0.5/mod.ts";

0 commit comments

Comments
 (0)