Skip to content

option: "local to tab page" options has getBuffer() method #268

Open
@Milly

Description

@Milly

Describe the bug

Related #267.

"local to tab page" options has getBuffer() method.
There is also getWindow() etc. methods.

import { cmdheight } from "jsr:@denops/std/option";

declare const denops: Denops;

await cmdheight.getBuffer(denops, 1);

Currently (Vim/Nvim target for v7) there are only these options:

  • 'cmdheight'
						*'cmdheight'* *'ch'*
'cmdheight' 'ch'	number	(default 1)
			global or local to tab page
	Number of screen lines to use for the command-line.  A larger value
	helps avoiding |hit-enter| prompts.
	The value of this option is stored with the tab page, so that each tab
	page can have a different value.

Expected behavior

  • No getBuffer() etc. methods are available.
  • No setWindow() etc. methods are available.
  • Add getTabPage() etc. methods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions