diff options
author | Michael Lingelbach <m.j.lbach@gmail.com> | 2021-04-07 09:14:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-07 09:14:49 -0700 |
commit | 48e80572855042ceb1d9191bc11f8b60275426eb (patch) | |
tree | 820830e92169f359b63d14a4fa8aca00fe6843d7 /runtime/doc/api.txt | |
parent | cd75d3289aa7ae4176b9cee9aceafb4b9abdba5e (diff) | |
parent | d7a1bbd81aac00097558c8edfc040405fb2ca795 (diff) | |
download | rneovim-48e80572855042ceb1d9191bc11f8b60275426eb.tar.gz rneovim-48e80572855042ceb1d9191bc11f8b60275426eb.tar.bz2 rneovim-48e80572855042ceb1d9191bc11f8b60275426eb.zip |
Merge pull request #14302 from vigoux/fix-8449
Update docs
Diffstat (limited to 'runtime/doc/api.txt')
-rw-r--r-- | runtime/doc/api.txt | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/runtime/doc/api.txt b/runtime/doc/api.txt index 1e287281cf..0c17fa1669 100644 --- a/runtime/doc/api.txt +++ b/runtime/doc/api.txt @@ -1311,6 +1311,34 @@ nvim_open_win({buffer}, {enter}, {config}) *nvim_open_win()* and clearing the |EndOfBuffer| region in 'winhighlight'. + • `border`: style of (optional) window border. This can + either be a string or an array. the string + values are: + • "none" No border. This is the default + • "single" a single line box + • "double" a double line box + • "shadow" a drop shadow effect by blending + with the background. If it is an array it + should be an array of eight items or any + divisor of eight. The array will specifify + the eight chars building up the border in a + clockwise fashion starting with the top-left + corner. As, an example, the double box style + could be specified as: [ "╔", "═" ,"╗", "║", + "╝", "═", "╚", "║" ] if the number of chars + are less than eight, they will be repeated. + Thus an ASCII border could be specified as: + [ "/", "-", "\\", "|" ] or all chars the + same as: [ "x" ] An empty string can be used + to turn off a specific border, for instance: + [ "", "", "", ">", "", "", "", "<" ] will + only make vertical borders but not + horizontal ones. By default `FloatBorder` + highlight is used which links to `VertSplit` + when not defined. It could also be specified + by character: [ {"+", "MyCorner"}, {"x", + "MyBorder"} ] + Return: ~ Window handle, or 0 on error @@ -2266,6 +2294,9 @@ nvim_buf_set_extmark({buffer}, {ns_id}, {line}, {col}, {opts}) exists) will be shifted in when new text is inserted (true for right, false for left). Defaults to false. + • priority: a priority value for the highlight + group. For example treesitter highlighting + uses a value of 100. Return: ~ Id of the created/updated extmark |