From c3a447a4710f63776af8b09e30c969f1edefdbc2 Mon Sep 17 00:00:00 2001 From: ashincoder Date: Wed, 16 Jun 2021 06:20:47 +0530 Subject: [PATCH] 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()