Update todo, add indent size option

This commit is contained in:
Krzosa Karol
2024-08-03 07:26:37 +02:00
parent 4c7f6340d6
commit f79fce83ca
5 changed files with 41 additions and 51 deletions

View File

@@ -54,8 +54,9 @@ Color.TitleBarText = GruvboxDark2
Color.TitleBarBackground = GruvboxLight1
Color.TitleBarSelection = GruvboxLight3
Style = {}
Style.DrawLineNumbers = 0
Style.DrawScrollbar = 0
Style.DrawLineNumbers = 1
Style.DrawScrollbar = 1
Style.IndentSize = 2
-- @todo: should we rewrite linux paths to windows on windows and vice-versa?
@@ -164,7 +165,7 @@ end
-- function RuleFindExistingBuffer(_s)
-- line, col, _s = ExtractLineAndColumn(_s)
--
--
-- buffers = list_buffers_object()
-- for i = 1,#buffers do
-- buff = buffers[i]
@@ -172,7 +173,7 @@ end
-- return {kind = "text", file_path = buff, line = line, col = col}
-- end
-- end
--
--
-- return nil
-- end
@@ -213,4 +214,5 @@ void ReloadStyle() {
ColorTitleBarSelection = GetColor("TitleBarSelection", ColorTitleBarSelection);
StyleDrawLineNumbers = GetStyle("DrawLineNumbers", StyleDrawLineNumbers);
StyleDrawScrollbar = GetStyle("DrawScrollbar", StyleDrawScrollbar);
StyleIndentSize = GetStyle("IndentSize", StyleIndentSize);
}