Skip to content

Commit

Permalink
Merge pull request #3 from christo-auer/promisified
Browse files Browse the repository at this point in the history
getWindows -> listWins in example
  • Loading branch information
rhysd committed Dec 7, 2017
2 parents 8662187 + a2ec650 commit 6ae3c9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.mkd
Expand Up @@ -43,7 +43,7 @@ attach(nvim_proc.stdin, nvim_proc.stdout).then(function(nvim) {

nvim
.command('vsp')
.then(() => nvim.getWindows())
.then(() => nvim.listWins())
.then(windows => {
console.log(windows.length); // 2
console.log(windows[0] instanceof nvim.Window); // true
Expand Down

0 comments on commit 6ae3c9e

Please sign in to comment.