refactor(writer): Move make_outline to sidebar
Was passing self fields a lot, decided to just do all that in Sidebar in the first place. Also resolved guides.enabled=false early to setting markers to ' '. Everything should work the same.
This commit is contained in:
@@ -284,6 +284,12 @@ function M.resolve_config()
|
||||
M.o.guides.enabled = false
|
||||
end
|
||||
end
|
||||
if not M.o.guides.enabled then
|
||||
M.o.guides = {
|
||||
enabled = true,
|
||||
markers = { middle = ' ', vertical = ' ', bottom = ' ' }
|
||||
}
|
||||
end
|
||||
----- SPLIT COMMAND -----
|
||||
local sc = M.o.outline_window.split_command
|
||||
if sc then
|
||||
|
||||
Reference in New Issue
Block a user