-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from Makaze/compatibility
Backwards compatibility with Neovim 0.9.5
- Loading branch information
Showing
3 changed files
with
144 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
Author: Makaze <[email protected]> | ||
License: GPLv3.0 | ||
Version: 0.3.0 | ||
Version: 0.3.1 | ||
|
||
================================================================================ | ||
INTRODUCTION *watch* | ||
|
@@ -36,6 +36,7 @@ Features: ~ | |
[x] Pause watching when in the background | ||
[x] Option to open in a configurable split window | ||
[x] Option to watch for file changes | ||
[x] Backwards compability with `Neovim 0.9.5` | ||
|
||
Planned: ~ | ||
[ ] ANSI color support | ||
|
@@ -184,12 +185,19 @@ watch.update({command}, {bufnr}) *watch.update()* | |
|
||
Parameters: ~ | ||
{command} (string) Shell command to load to the buffer. | ||
{bufnr} (integer) The buffer number to load to. Defaults to a | ||
new buffer. | ||
{bufnr} (integer) The buffer number to udpate. | ||
|
||
Return: ~ | ||
{updater} (function) Steps to take upon rerunning {command}. | ||
|
||
watch.update_lines({lines}, {bufnr}) *watch.update_lines()* | ||
Sets the content of the watch buffer to {lines}, preserving the scroll | ||
position. Used internally by |watch.update()|. | ||
|
||
Parameters: ~ | ||
{lines} (table) The lines to replace into the buffer. | ||
{bufnr} (integer) The buffer number to udpate. | ||
|
||
================================================================================ | ||
|
||
vim: filetype=help expandtab tabstop=4 textwidth=80 colorcolumn=81 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters