From 96627e3b57511c640e9d738525bb1f1873e9c1f8 Mon Sep 17 00:00:00 2001 From: rajvatsal Date: Fri, 5 Jan 2024 18:42:41 +0530 Subject: [PATCH] refactor(defaults): Replace 'vim.go' with 'vim.opt' --- after/plugin/defaults.lua | 2 +- lua/custom/plugins/colorschemes.lua | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/after/plugin/defaults.lua b/after/plugin/defaults.lua index e938c561..f44bcd0f 100644 --- a/after/plugin/defaults.lua +++ b/after/plugin/defaults.lua @@ -4,7 +4,7 @@ vim.go.expandtab = true vim.bo.softtabstop = 2 vim.go.relativenumber = true vim.keymap.set('t', '', [[]], { noremap = true }) -vim.cmd.colorscheme 'oxocarbon' -- Set custom colorscheme [[ NOTE: Never set it to "onedark" cuz it breaks the editor ]] +vim.cmd.colorscheme 'rose-pine' -- Set custom colorscheme [[ NOTE: Never set it to "onedark" cuz it breaks the editor ]] -- Lualine config require('lualine').setup { diff --git a/lua/custom/plugins/colorschemes.lua b/lua/custom/plugins/colorschemes.lua index 058a2ada..1d57bb6c 100644 --- a/lua/custom/plugins/colorschemes.lua +++ b/lua/custom/plugins/colorschemes.lua @@ -22,7 +22,5 @@ return { 'rose-pine/neovim', name = 'rose-pine', priority = 1000, - config = function() - end } }