Gittyup/conf/editor.lua
Micha WERLE 81cf2e6e5e feat(whitespace): show whitespace in editor views
This commit adds a new Settings entry "ShowWhitespaceinEditor"
("editor/view/showWhitespace") to the Settings class, and a new checkbox
in the Editor settings dialog.

This setting defaults to off/false, preserving the current behaviour of
the application.

If this setting is toggled to on, whitespace is rendered in the HunkWidget
and BlameEditor views.
2024-05-13 00:03:03 +09:00

29 lines
421 B
Lua

local family = "Courier New"
local size = 10
if platform == "mac" then
family = "Menlo"
size = 12
elseif platform == "win" then
family = "Consolas"
elseif platform == "x11" then
family = "Monospace"
end
return {
font = {
family = family,
size = size
},
view = {
showWhitespace = false
},
indent = {
tabs = true,
width = 4,
tabwidth = 4
},
blame = {
heatmap = true
}
}