From 8aafe947f476462e0aae7d0f473bec0fbdcaaa60 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Tue, 11 Jan 2022 22:34:06 +0100 Subject: Move colorscheme config to config --- lua/plugins/colorscheme.lua | 9 --------- lua/plugins/config/colorscheme.lua | 9 +++++++++ 2 files changed, 9 insertions(+), 9 deletions(-) delete mode 100644 lua/plugins/colorscheme.lua create mode 100644 lua/plugins/config/colorscheme.lua (limited to 'lua/plugins') diff --git a/lua/plugins/colorscheme.lua b/lua/plugins/colorscheme.lua deleted file mode 100644 index 5f0654d..0000000 --- a/lua/plugins/colorscheme.lua +++ /dev/null @@ -1,9 +0,0 @@ --- Neovim colorscheme. - -local colorscheme = "default" - -local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) -if not status_ok then - vim.notify("colorscheme " .. colorscheme .. " not found!") - return -end diff --git a/lua/plugins/config/colorscheme.lua b/lua/plugins/config/colorscheme.lua new file mode 100644 index 0000000..5f0654d --- /dev/null +++ b/lua/plugins/config/colorscheme.lua @@ -0,0 +1,9 @@ +-- Neovim colorscheme. + +local colorscheme = "default" + +local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) +if not status_ok then + vim.notify("colorscheme " .. colorscheme .. " not found!") + return +end -- cgit v1.2.3-70-g09d2