Commit 7b37aab
committed
fix: prioritize hide over highlight_border
## Details
Previously if the following options were set:
- `code.border = 'hide'`
- `code.highlight_border = false`
We would skip concealing the border line and leave it as is. The only
`border` values that need to be gated based on `highlight_border` being
`false` are `thick` and `thin`, since a highlight is needed to create
the virtual text.
To fix this swap the order values are checked.1 parent d7be79b commit 7b37aab
2 files changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
180 | | - | |
181 | | - | |
| 179 | + | |
182 | 180 | | |
| 181 | + | |
| 182 | + | |
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| |||
0 commit comments