mirror of
https://github.com/nvim-treesitter/nvim-treesitter-context
synced 2024-09-16 14:14:03 +02:00
feat: add winvar on context window (closes #50)
This commit is contained in:
parent
af10a3251f
commit
bdc598b519
1 changed files with 1 additions and 0 deletions
|
@ -188,6 +188,7 @@ local function display_window(width, height, row, col)
|
|||
focusable = false,
|
||||
style = 'minimal',
|
||||
})
|
||||
api.nvim_win_set_var(winid, 'treesitter_context', true)
|
||||
else
|
||||
api.nvim_win_set_config(winid, {
|
||||
win = api.nvim_get_current_win(),
|
||||
|
|
Loading…
Reference in a new issue