From c3a447a4710f63776af8b09e30c969f1edefdbc2 Mon Sep 17 00:00:00 2001 From: ashincoder Date: Wed, 16 Jun 2021 06:20:47 +0530 Subject: [PATCH 1/2] commented relative number setting and changed bookmark icon --- lua/dashboard.lua | 2 +- lua/misc-utils.lua | 6 +++++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/lua/dashboard.lua b/lua/dashboard.lua index 53b5f8c..7a05a8e 100644 --- a/lua/dashboard.lua +++ b/lua/dashboard.lua @@ -23,6 +23,6 @@ g.dashboard_custom_section = { b = {description = {" Recents SPC f o"}, command = "Telescope oldfiles"}, c = {description = {" Find Word SPC f w"}, command = "Telescope live_grep"}, d = {description = {"洛 New File SPC f n"}, command = "DashboardNewFile"}, - e = {description = {"󰓏 Bookmarks SPC b m"}, command = "Telescope marks"}, + e = {description = {" Bookmarks SPC b m"}, command = "Telescope marks"}, f = {description = {" Load Last Session SPC s l"}, command = "SessionLoad"} } diff --git a/lua/misc-utils.lua b/lua/misc-utils.lua index 066a671..35e7a17 100644 --- a/lua/misc-utils.lua +++ b/lua/misc-utils.lua @@ -25,12 +25,16 @@ opt("o", "updatetime", 250) -- update interval for gitsigns opt("o", "clipboard", "unnamedplus") opt("o", "timeoutlen", 500) +-- Numbers +opt("w", "number", true) +opt("o", "numberwidth", 2) +-- opt("w", "relativenumber", true) + -- for indenline opt("b", "expandtab", true) opt("b", "shiftwidth", 2) opt("b", "smartindent", true) - local M = {} function M.is_buffer_empty() From 20cc14e5848bb86b9de46df4de1f58d733fac1bb Mon Sep 17 00:00:00 2001 From: ashincoder <83629316+ashincoder@users.noreply.github.com> Date: Wed, 16 Jun 2021 06:42:23 +0530 Subject: [PATCH 2/2] removed 2 repeated lines --- lua/misc-utils.lua | 2 -- 1 file changed, 2 deletions(-) diff --git a/lua/misc-utils.lua b/lua/misc-utils.lua index 35e7a17..889f48d 100644 --- a/lua/misc-utils.lua +++ b/lua/misc-utils.lua @@ -12,8 +12,6 @@ opt("o", "ignorecase", true) opt("o", "splitbelow", true) opt("o", "splitright", true) opt("o", "termguicolors", true) -opt("w", "number", true) -opt("o", "numberwidth", 2) opt("w", "cul", true) opt("o", "mouse", "a")