diff options
author | bfredl <bjorn.linse@gmail.com> | 2023-04-07 10:11:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-07 10:11:48 +0200 |
commit | b395f6069fee570eb1e5eb48b6d55eb5b8d86ff4 (patch) | |
tree | 6df65ea8137365f87b1549da4d9f64a54b2c50b7 /runtime | |
parent | b2d10aa01da4cf9341f68969b22875afb4afabd9 (diff) | |
parent | 25dfed6e0148771cdb659df8c616df3860583c47 (diff) | |
download | rneovim-b395f6069fee570eb1e5eb48b6d55eb5b8d86ff4.tar.gz rneovim-b395f6069fee570eb1e5eb48b6d55eb5b8d86ff4.tar.bz2 rneovim-b395f6069fee570eb1e5eb48b6d55eb5b8d86ff4.zip |
Merge pull request #22907 from luukvbaal/evalstc
feat(api): set statuscolumn line number in nvim_eval_statusline()
Diffstat (limited to 'runtime')
-rw-r--r-- | runtime/doc/api.txt | 4 | ||||
-rw-r--r-- | runtime/doc/news.txt | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 52c3f7fa97..09d260e0cd 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -773,8 +773,8 @@ nvim_eval_statusline({str}, {*opts}) *nvim_eval_statusline()* • use_tabline: (boolean) Evaluate tabline instead of statusline. When true, {winid} is ignored. Mutually exclusive with {use_winbar}. - • use_statuscol: (boolean) Evaluate statuscolumn instead of - statusline. + • use_statuscol_lnum: (number) Evaluate statuscolumn for this + line number instead of statusline. Return: ~ Dictionary containing statusline information, with these keys: diff --git a/runtime/doc/news.txt b/runtime/doc/news.txt index 98f3f3f398..12dc4674af 100644 --- a/runtime/doc/news.txt +++ b/runtime/doc/news.txt @@ -74,7 +74,7 @@ NEW FEATURES *news-features* The following new APIs or features were added. • |nvim_eval_statusline()| supports evaluating the |'statuscolumn'| through a - new `opts` field: `use_statuscol`. + new `opts` field: `use_statuscol_lnum`. • |nvim_buf_get_extmarks()| now accepts a -1 `ns_id` to request extmarks from all namespaces and adds the namespace id to the details array. |