Skip to content

Commit

Permalink
feat: Enable tokyonight theme
Browse files Browse the repository at this point in the history
It is just one of the best themes even when it
takes some ms more to load. You can disable tokyonight with
```lua
return {
  "folke/tokyonight.nvim",
  enabled = false,
}
```
in extras folder.
  • Loading branch information
Allaman committed Jan 18, 2025
1 parent 5aa30df commit 91c25f3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 16 deletions.
3 changes: 0 additions & 3 deletions lua/vnext/config/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,3 @@ require("vnext.config.options")
require("vnext.config.lazy")
require("vnext.config.autocmds")
require("vnext.config.mappings")

-- HACK: the default color scheme has a very bright color
vim.api.nvim_set_hl(0, "StatusLine", { bg = "#1c1c1c" })
22 changes: 10 additions & 12 deletions lua/vnext/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -81,16 +81,14 @@ return {
},
opts = {},
},
-- {
-- "folke/tokyonight.nvim",
-- priority = 1000,
-- lazy = false,
-- opts = {
-- style = "moon",
-- },
-- config = function(_, opts)
-- require("tokyonight").setup({ opts })
-- vim.cmd("colorscheme tokyonight")
-- end,
-- },

{
"folke/tokyonight.nvim",
priority = 1000,
lazy = false,
config = function()
require("tokyonight").setup()
vim.cmd("colorscheme tokyonight-moon")
end,
},
}
1 change: 0 additions & 1 deletion lua/vnext/plugins/which-key.lua
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ return {
},
},
config = function(_, opts)
vim.api.nvim_set_hl(0, "WhichKeyTitle", { bg = "#000000" }) -- HACK: only works if border is black
require("which-key").setup(opts)
end,
}

0 comments on commit 91c25f3

Please sign in to comment.