diff options
Diffstat (limited to 'lua')
-rw-r--r-- | lua/user/colorscheme.lua | 7 | ||||
-rw-r--r-- | lua/user/options.lua | 5 | ||||
-rw-r--r-- | lua/user/plugins.lua | 3 |
3 files changed, 11 insertions, 4 deletions
diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua new file mode 100644 index 0000000..94855bc --- /dev/null +++ b/lua/user/colorscheme.lua @@ -0,0 +1,7 @@ +local colorscheme = "slate" + +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/user/options.lua b/lua/user/options.lua index 338d207..6538ab3 100644 --- a/lua/user/options.lua +++ b/lua/user/options.lua @@ -1,8 +1,5 @@ --- Syntax Highlighting Settings -vim.syntax = true --turn on syntax highlighting -vim.cmd("colorscheme slate") --set colorscheme to slate - -- Misc. Settings +vim.syntax = true --turn on syntax highlighting vim.opt.hlsearch = true --highlight search matches vim.opt.number = true --number rows vim.opt.shiftwidth = 4 --set shiftwidth diff --git a/lua/user/plugins.lua b/lua/user/plugins.lua index b491d35..d90587e 100644 --- a/lua/user/plugins.lua +++ b/lua/user/plugins.lua @@ -10,4 +10,7 @@ return packer.startup(function(use) use "wbthomason/packer.nvim" -- Have packer manage itself --use "nvim-lua/popup.nvim" -- An implementation of the Popup API from vim in Neovim --use "nvim-lua/plenary.nvim" -- Useful lua functions used by lots of plugins + + -- Colorschemes + --use "lunarvim/colorschemes" -- Additional colorschemes end) |