diff --git a/lua/core/options.lua b/lua/core/options.lua index afdf9d4..fb02509 100644 --- a/lua/core/options.lua +++ b/lua/core/options.lua @@ -17,9 +17,9 @@ return { mousemoveevent = true, -- enable mousemove event laststatus = 3, -- only show one statusline swapfile = false, -- don't use swapfile - shiftwidth = 4, -- number of space inserted for indentation; when zero the 'tabstop' value will be used + shiftwidth = 2, -- number of space inserted for indentation; when zero the 'tabstop' value will be used tabstop = 2, -- set the number of space in a tab to 4 - softtabstop = 4, -- can be differnt from tabstop + softtabstop = 2, -- can be differnt from tabstop showtabline = 2, -- always show tabline expandtab = true, -- use spaces instead of tab undofile = true, -- enable persistent undo diff --git a/lua/plugins/editor.lua b/lua/plugins/editor.lua index 3f19487..fb4de8b 100644 --- a/lua/plugins/editor.lua +++ b/lua/plugins/editor.lua @@ -85,25 +85,25 @@ return { }, indent = { enable = true, - use_treesitter = false, + use_treesitter = true, chars = { "│", }, - style = { - "#FF0000", - "#FF7F00", - "#FFFF00", - -- "#00FF00", - "#00FFFF", - "#0000FF", - "#8B00FF", - }, }, blank = { - enable = false, + enable = true, + chars = { + " ", + }, + style = { + { bg = "#434437" }, + { bg = "#2f4440" }, + { bg = "#433054" }, + { bg = "#284251" }, + }, }, line_num = { - enable = true, + enable = false, }, })) end,