From f9291a2aaf000693f96e12e43d8103abbc4049d8 Mon Sep 17 00:00:00 2001 From: Benedikt Heine Date: Sun, 25 Jan 2026 05:50:59 +0100 Subject: [PATCH] nvim: use tokyonight theme lualine uses `auto` by default, inheriting the global theme. --- nvim/lazy-lock.json | 4 ++-- nvim/lua/config/lazy.lua | 3 --- nvim/lua/config/lualine.lua | 1 - nvim/lua/plugins/onedark.lua | 10 ---------- nvim/lua/plugins/tokyonight.lua | 8 ++++++++ 5 files changed, 10 insertions(+), 16 deletions(-) delete mode 100644 nvim/lua/plugins/onedark.lua create mode 100644 nvim/lua/plugins/tokyonight.lua diff --git a/nvim/lazy-lock.json b/nvim/lazy-lock.json index 870f955..fb91cf3 100644 --- a/nvim/lazy-lock.json +++ b/nvim/lazy-lock.json @@ -5,10 +5,10 @@ "nvim-autopairs": { "branch": "master", "commit": "c2a0dd0d931d0fb07665e1fedb1ea688da3b80b4" }, "nvim-treesitter": { "branch": "main", "commit": "d19def46c112c26c17adeef88dd1253cc6d623a1" }, "nvim-web-devicons": { "branch": "master", "commit": "803353450c374192393f5387b6a0176d0972b848" }, - "onedark.nvim": { "branch": "master", "commit": "213c23ae45a04797572242568d5d51937181792d" }, "plenary.nvim": { "branch": "master", "commit": "b9fd5226c2f76c951fc8ed5923d85e4de065e509" }, "remember.nvim": { "branch": "master", "commit": "85aff6dc0a5adab088ef6b9210585ded31c32c7b" }, "telescope-fzf-native.nvim": { "branch": "main", "commit": "6fea601bd2b694c6f2ae08a6c6fab14930c60e2c" }, "telescope.nvim": { "branch": "master", "commit": "a8c2223ea6b185701090ccb1ebc7f4e41c4c9784" }, - "todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" } + "todo-comments.nvim": { "branch": "main", "commit": "31e3c38ce9b29781e4422fc0322eb0a21f4e8668" }, + "tokyonight.nvim": { "branch": "main", "commit": "5da1b76e64daf4c5d410f06bcb6b9cb640da7dfd" } } diff --git a/nvim/lua/config/lazy.lua b/nvim/lua/config/lazy.lua index e7b591e..119d978 100644 --- a/nvim/lua/config/lazy.lua +++ b/nvim/lua/config/lazy.lua @@ -18,9 +18,6 @@ require("lazy").setup({ -- import your plugins { import = "plugins" }, }, - -- Configure any other settings here. See the documentation for more details. - -- colorscheme that will be used when installing plugins. - install = { colorscheme = { "onedark" } }, -- automatically check for plugin updates checker = { enabled = true, diff --git a/nvim/lua/config/lualine.lua b/nvim/lua/config/lualine.lua index 8a17d9b..34e080e 100644 --- a/nvim/lua/config/lualine.lua +++ b/nvim/lua/config/lualine.lua @@ -1,6 +1,5 @@ require('lualine').setup { options = { icons_enabled = true, - theme = 'onedark' } } diff --git a/nvim/lua/plugins/onedark.lua b/nvim/lua/plugins/onedark.lua deleted file mode 100644 index f70dbdd..0000000 --- a/nvim/lua/plugins/onedark.lua +++ /dev/null @@ -1,10 +0,0 @@ -return { - "navarasu/onedark.nvim", - priority = 1000, -- make sure to load this before all the other start plugins - config = function() - require('onedark').setup { - style = 'warmer' - } - require('onedark').load() - end -} diff --git a/nvim/lua/plugins/tokyonight.lua b/nvim/lua/plugins/tokyonight.lua new file mode 100644 index 0000000..93d87dd --- /dev/null +++ b/nvim/lua/plugins/tokyonight.lua @@ -0,0 +1,8 @@ +return { + "folke/tokyonight.nvim", + lazy = false, + priority = 1000, + config = function() + vim.cmd([[colorscheme tokyonight-moon]]) + end, +}