diff options
author | Saumit Dinesan <justsaumit@protonmail.com> | 2022-09-05 03:21:25 +0530 |
---|---|---|
committer | Saumit Dinesan <justsaumit@protonmail.com> | 2022-09-05 03:21:25 +0530 |
commit | e96cda8f3d313e3e95b5d5e9c9a0ccce0f81960f (patch) | |
tree | cd70fbbdc27208a55f0f7a146c473a22bb7781a8 /.config/nvim/lua/justsaumit/colorscheme.lua | |
parent | 1f1906993046ffa440c77b3a9bd3e86af448b250 (diff) |
neovim troubleshoot-> PackerStatus web-devicons not loaded
Diffstat (limited to '.config/nvim/lua/justsaumit/colorscheme.lua')
-rw-r--r-- | .config/nvim/lua/justsaumit/colorscheme.lua | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/.config/nvim/lua/justsaumit/colorscheme.lua b/.config/nvim/lua/justsaumit/colorscheme.lua index 5989f66..684a272 100644 --- a/.config/nvim/lua/justsaumit/colorscheme.lua +++ b/.config/nvim/lua/justsaumit/colorscheme.lua @@ -1,14 +1,3 @@ ---protected call -local colorscheme = "tokyonight" -local pywal = require('pywal') - -local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) -if not status_ok then - vim.notify("colorscheme " .. colorscheme .. " not found! :(") - pywal.setup() - return -end - --configuration needs to be set BEFORE loading the color scheme with colorscheme tokyonight vim.g.tokyonight_style = "night" tokyonight_terminal_colors=true @@ -24,3 +13,14 @@ tokyonight_dark_sidebar=true tokyonight_dark_float=true tokyonight_colors={} tokyonight_lualine_bold=false + +--protected call +local colorscheme = "tokyonight" +local pywal = require('pywal') + +local status_ok, _ = pcall(vim.cmd, "colorscheme " .. colorscheme) +if not status_ok then + vim.notify("colorscheme " .. colorscheme .. " not found! :(") + pywal.setup() + return +end |