aboutsummaryrefslogtreecommitdiffstats
path: root/lua/alpha/colors/tokio.lua
diff options
context:
space:
mode:
authorAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-10-15 11:59:24 +0200
committerAriel D'Alessandro <dalessandro.ariel@gmail.com>2022-10-15 11:59:24 +0200
commit7e62950549047548c2744b634d5947da67647881 (patch)
treecaa5180018a89a09c62d0dc904bf8b1ad3e686ba /lua/alpha/colors/tokio.lua
parent81e7ddbd48a9f1fa0039b6728f5f23ece0307900 (diff)
downloadnvim-conf-7e62950549047548c2744b634d5947da67647881.tar.gz
nvim-conf-7e62950549047548c2744b634d5947da67647881.zip
feat: improve colorscheme management
Diffstat (limited to 'lua/alpha/colors/tokio.lua')
-rw-r--r--lua/alpha/colors/tokio.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/lua/alpha/colors/tokio.lua b/lua/alpha/colors/tokio.lua
new file mode 100644
index 0000000..b40fb7f
--- /dev/null
+++ b/lua/alpha/colors/tokio.lua
@@ -0,0 +1,15 @@
+local ok, tokyonight = pcall(require, "tokyonight")
+if not ok then
+ return
+end
+
+local function setup()
+ tokyonight.setup({
+ style="night"
+ })
+ vim.cmd.colorscheme("tokyonight")
+end
+
+return {
+ setup = setup,
+}