From fe57279597afb31a0d17145ae47f6d0a7866a43f Mon Sep 17 00:00:00 2001 From: asep komarudin Date: Thu, 26 Jan 2023 11:02:21 +0700 Subject: [PATCH] update --- lazy-lock.json | 2 +- lua/plugins/init.lua | 3 +++ lua/user/colorscheme.lua | 2 +- lua/user/tokyonight.lua | 2 +- 4 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lazy-lock.json b/lazy-lock.json index 4d3bbf0..32a1585 100644 --- a/lazy-lock.json +++ b/lazy-lock.json @@ -45,7 +45,7 @@ "nvim-scrollview": { "branch": "main", "commit": "ba6c48bf7919dd48a371e7b9c683b8858053e885" }, "nvim-tree.lua": { "branch": "master", "commit": "7282f7de8aedf861fe0162a559fc2b214383c51c" }, "nvim-treesitter": { "branch": "master", "commit": "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac" }, - "nvim-treesitter-textobjects": { "branch": "master", "commit": "df2b2b05705a1cf476a1124e7aadfccddba73ec3" }, + "nvim-treesitter-textobjects": { "branch": "master", "commit": "71cee2f7b1211fe35918ce5fd0f626c48d9c1e3d" }, "nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "a0f89563ba36b3bacd62cf967b46beb4c2c29e52" }, "nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" }, diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index 9409cfa..fc836e6 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -11,6 +11,9 @@ return { commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764", lazy = false, -- make sure we load this during startup if it is your main colorscheme priority = 1000, -- make sure to load this before all the other start plugins + config = function() + require("user.tokyonight") + end, }, { "lunarvim/lunar.nvim" }, { diff --git a/lua/user/colorscheme.lua b/lua/user/colorscheme.lua index 7c02e0a..6b1b8ca 100644 --- a/lua/user/colorscheme.lua +++ b/lua/user/colorscheme.lua @@ -1,4 +1,4 @@ -local colorscheme = "tokyonight-night" +local colorscheme = "tokyonight" -- local colorscheme = "gruvbox" -- local colorscheme = "sonokai" -- local colorscheme = "nordfox" diff --git a/lua/user/tokyonight.lua b/lua/user/tokyonight.lua index e76a352..08e8125 100644 --- a/lua/user/tokyonight.lua +++ b/lua/user/tokyonight.lua @@ -5,7 +5,7 @@ end tokyonight.setup({ -- your configuration comes here -- or leave it empty to use the default settings - style = "storm", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day` + style = "night", -- The theme comes in three styles, `storm`, `moon`, a darker variant `night` and `day` light_style = "day", -- The theme is used when the background is set to light transparent = false, -- Enable this to disable setting the background color terminal_colors = true, -- Configure the colors used when opening a `:terminal` in Neovim