aboutsummaryrefslogtreecommitdiff
path: root/lua/startup
diff options
context:
space:
mode:
Diffstat (limited to 'lua/startup')
-rw-r--r--lua/startup/themes/default.lua1
-rw-r--r--lua/startup/themes/evil_startup.lua1
-rw-r--r--lua/startup/themes/startify.lua1
-rw-r--r--lua/startup/utils.lua5
4 files changed, 7 insertions, 1 deletions
diff --git a/lua/startup/themes/default.lua b/lua/startup/themes/default.lua
index 0e16545..1e80dfc 100644
--- a/lua/startup/themes/default.lua
+++ b/lua/startup/themes/default.lua
@@ -60,6 +60,7 @@ local settings = {
options = {
mapping_keys = true,
empty_lines_between_mappings = true,
+ disable_statuslines = true,
paddings = { 1, 3, 3, 0 },
},
mappings = {
diff --git a/lua/startup/themes/evil_startup.lua b/lua/startup/themes/evil_startup.lua
index bed5861..390ba83 100644
--- a/lua/startup/themes/evil_startup.lua
+++ b/lua/startup/themes/evil_startup.lua
@@ -107,6 +107,7 @@ local settings = {
options = {
mapping_keys = true,
empty_lines_between_mappings = true,
+ disable_statuslines = true,
paddings = { 0, 1, 1, 1, 1, 1, 1 },
},
colors = {
diff --git a/lua/startup/themes/startify.lua b/lua/startup/themes/startify.lua
index acd9869..0a335b3 100644
--- a/lua/startup/themes/startify.lua
+++ b/lua/startup/themes/startify.lua
@@ -56,6 +56,7 @@ local settings = {
options = {
mapping_keys = false,
empty_line_between_mappings = false,
+ disable_statuslines = true,
paddings = { 1, 2, 2, 3 },
},
mappings = {
diff --git a/lua/startup/utils.lua b/lua/startup/utils.lua
index 253f08e..d4ec7ae 100644
--- a/lua/startup/utils.lua
+++ b/lua/startup/utils.lua
@@ -202,7 +202,10 @@ function U.set_buf_options()
vim.api.nvim_buf_set_option(0, "bufhidden", "wipe")
vim.api.nvim_buf_set_option(0, "buftype", "nofile")
vim.cmd [[set wrap]]
- vim.cmd [[set laststatus=0]]
+ if settings.options.disable_statuslines then
+ vim.cmd [[set laststatus=0]]
+ vim.cmd [[set showtabline=0]]
+ end
vim.api.nvim_buf_set_option(0, "filetype", "startup")
vim.api.nvim_buf_set_option(0, "swapfile", false)
vim.cmd [[setlocal nonu nornu]]