diff options
author | Christian Clason <c.clason@uni-graz.at> | 2023-01-01 15:24:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-01 15:24:06 +0100 |
commit | f60cff8f9a253cac5c67199cd00bb9ecd15c5558 (patch) | |
tree | b4fd305ed727e02f78ad8775c21da879b21f3acd /runtime/doc/api.txt | |
parent | c4942880be0521673548c48bf61c1eac6bd37036 (diff) | |
parent | 2f0c023f520544432af56805bc1ad5785fcfdc61 (diff) | |
download | rneovim-f60cff8f9a253cac5c67199cd00bb9ecd15c5558.tar.gz rneovim-f60cff8f9a253cac5c67199cd00bb9ecd15c5558.tar.bz2 rneovim-f60cff8f9a253cac5c67199cd00bb9ecd15c5558.zip |
Merge pull request #21570 from clason/vimdoc-parsing
docs: fix treesitter parsing errors
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r-- | runtime/doc/api.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 26679f0330..32c7ba67a5 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -2535,8 +2535,8 @@ nvim_buf_get_extmarks({buffer}, {ns_id}, {start}, {end}, {opts}) Region can be given as (row,col) tuples, or valid extmark ids (whose positions define the bounds). 0 and -1 are understood as (0,0) and (-1,-1) respectively, thus the following are equivalent: >lua - nvim_buf_get_extmarks(0, my_ns, 0, -1, {}) - nvim_buf_get_extmarks(0, my_ns, [0,0], [-1,-1], {}) + vim.api.nvim_buf_get_extmarks(0, my_ns, 0, -1, {}) + vim.api.nvim_buf_get_extmarks(0, my_ns, {0,0}, {-1,-1}, {}) < If `end` is less than `start`, traversal works backwards. (Useful with @@ -3071,8 +3071,8 @@ nvim_open_win({buffer}, {enter}, {*config}) *nvim_open_win()* borders but not horizontal ones. By default, `FloatBorder` highlight is used, which links to `WinSeparator` when not defined. It could also be - specified by character: [ {"+", "MyCorner"}, {"x", - "MyBorder"} ]. + specified by character: [ ["+", "MyCorner"], ["x", + "MyBorder"] ]. • title: Title (optional) in window border, String or list. List is [text, highlight] tuples. if is string the default |