We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d1bd94 commit 34cb28dCopy full SHA for 34cb28d
lua/neogit/lib/buffer.lua
@@ -711,6 +711,8 @@ function Buffer.create(config)
711
buffer:set_buffer_option("buftype", config.buftype or "nofile")
712
end
713
714
+ buffer:set_window_option("wrap", false)
715
+
716
if config.filetype then
717
logger.debug("[BUFFER:" .. buffer.handle .. "] Setting filetype: " .. config.filetype)
718
buffer:set_filetype(config.filetype)
@@ -783,7 +785,6 @@ function Buffer.create(config)
783
785
784
786
787
buffer:set_window_option("spell", config.spell_check or false)
- buffer:set_window_option("wrap", false)
788
buffer:set_window_option("foldmethod", "manual")
789
-- TODO: Need to find a way to turn this off properly when unloading plugin
790
-- buffer:set_window_option("winfixbuf", true)
0 commit comments