Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,7 @@ separator if `separator` is set. By default it links to `FloatBorder`.

Use the highlight groups `TreesitterContextBottom` and/or
`TreesitterContextLineNumberBottom` to change the highlight of the last line of
the context window. By default it links to `NONE`.
the context window. By default it is cleared.
However, you can use this to create a border by applying an underline highlight, e.g,
for an underline across the screen:

Expand Down
2 changes: 1 addition & 1 deletion doc/nvim-treesitter-context.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ HIGHLIGHTS *nvim-treesitter-context-highlights*
Used for the colors of the separator if `separator` is set.

`TreesitterContextBottom` *hl-TreesitterContextBottom*
(default: links to `NONE`)
(default: cleared)

Use for the last line of the context.

Expand Down
2 changes: 1 addition & 1 deletion plugin/treesitter-context.lua
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ end, {

vim.api.nvim_set_hl(0, 'TreesitterContext', { link = 'NormalFloat', default = true })
vim.api.nvim_set_hl(0, 'TreesitterContextLineNumber', { link = 'LineNr', default = true })
vim.api.nvim_set_hl(0, 'TreesitterContextBottom', { link = 'NONE', default = true })
vim.api.nvim_set_hl(0, 'TreesitterContextBottom', { default = true })
vim.api.nvim_set_hl(
0,
'TreesitterContextLineNumberBottom',
Expand Down
Loading