Update documentation for floating window borders
This commit is contained in:
parent
1d76fd55a1
commit
826878c41e
2 changed files with 9 additions and 5 deletions
|
@ -81,6 +81,7 @@ other content at [w0rp.com](https://w0rp.com).
|
||||||
18. [How can I configure ALE differently for different buffers?](#faq-buffer-configuration)
|
18. [How can I configure ALE differently for different buffers?](#faq-buffer-configuration)
|
||||||
19. [How can I configure the height of the list in which ALE displays errors?](#faq-list-window-height)
|
19. [How can I configure the height of the list in which ALE displays errors?](#faq-list-window-height)
|
||||||
20. [How can I run linters or fixers via Docker or a VM?](#faq-vm)
|
20. [How can I run linters or fixers via Docker or a VM?](#faq-vm)
|
||||||
|
21. [How can I change the borders for floating preview windows?](#faq-window-borders)
|
||||||
|
|
||||||
<a name="supported-languages"></a>
|
<a name="supported-languages"></a>
|
||||||
|
|
||||||
|
@ -908,6 +909,8 @@ correct commands and map filename paths between different file systems. See
|
||||||
`:help ale-lint-other-machines` for the full documentation on how to configure
|
`:help ale-lint-other-machines` for the full documentation on how to configure
|
||||||
ALE to support this.
|
ALE to support this.
|
||||||
|
|
||||||
|
<a name="faq-window-borders"></a>
|
||||||
|
|
||||||
### 5.xxi. How can I change the borders for floating preview windows?
|
### 5.xxi. How can I change the borders for floating preview windows?
|
||||||
|
|
||||||
Borders for floating preview windows are enabled by default. You can use the
|
Borders for floating preview windows are enabled by default. You can use the
|
||||||
|
@ -919,7 +922,8 @@ You could disable the border with an empty list.
|
||||||
let g:ale_floating_window_border = []
|
let g:ale_floating_window_border = []
|
||||||
```
|
```
|
||||||
|
|
||||||
If the terminal supports Unicode, you might try setting the value like below, to make it look nicer.
|
If the terminal supports Unicode, you might try setting the value like below, to
|
||||||
|
make it look nicer.
|
||||||
|
|
||||||
```vim
|
```vim
|
||||||
let g:ale_floating_window_border = ['│', '─', '╭', '╮', '╯', '╰']
|
let g:ale_floating_window_border = ['│', '─', '╭', '╮', '╯', '╰']
|
||||||
|
|
|
@ -1211,9 +1211,9 @@ g:ale_floating_window_border *g:ale_floating_window_border
|
||||||
Type: |List|
|
Type: |List|
|
||||||
Default: `['|', '-', '+', '+', '+', '+']`
|
Default: `['|', '-', '+', '+', '+', '+']`
|
||||||
|
|
||||||
When set to `[]`, window borders are disabled. The elements in the list
|
When set to `[]`, window borders are disabled. The elements in the list set
|
||||||
set the horizontal, top, top-left, top-right, bottom-right
|
the horizontal, top, top-left, top-right, bottom-right and bottom-left
|
||||||
and bottom-left border characters, respectively.
|
border characters, respectively.
|
||||||
|
|
||||||
If the terminal supports Unicode, you might try setting the value to
|
If the terminal supports Unicode, you might try setting the value to
|
||||||
` ['│', '─', '╭', '╮', '╯', '╰']`, to make it look nicer.
|
` ['│', '─', '╭', '╮', '╯', '╰']`, to make it look nicer.
|
||||||
|
|
Reference in a new issue