Use the new Doc:get_indent_info throughout core

This commit is contained in:
Guldoman
2021-11-20 04:37:15 +01:00
parent b77b1c0221
commit 3d9901695b
4 changed files with 19 additions and 24 deletions
+2 -2
View File
@@ -395,8 +395,8 @@ end
function DocView:draw()
self:draw_background(style.background)
self:get_font():set_tab_size(config.indent_size)
local _, indent_size = self.doc:get_indent_info()
self:get_font():set_tab_size(indent_size)
local minline, maxline = self:get_visible_line_range()
local lh = self:get_line_height()