We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84126d3 commit 4db5dfaCopy full SHA for 4db5dfa
lua/nvim-tree/renderer.lua
@@ -455,9 +455,6 @@ function M.draw(tree, reload)
455
if cursor and #lines >= cursor[1] then
456
api.nvim_win_set_cursor(view.get_winnr(), cursor)
457
end
458
- if cursor then
459
- api.nvim_win_set_option(view.get_winnr(), 'wrap', false)
460
- end
461
462
463
function M.render_hl(bufnr)
lua/nvim-tree/view.lua
@@ -24,6 +24,7 @@ M.View = {
24
foldcolumn = '0',
25
cursorcolumn = false,
26
colorcolumn = '0',
27
+ wrap = false,
28
winhl = table.concat({
29
'EndOfBuffer:NvimTreeEndOfBuffer',
30
'Normal:NvimTreeNormal',
0 commit comments