nix/programs/nvim/theme.lua
Markus Zoppelt 62acde5fcc fix(neovim): harden security and add keymap descriptions
Disable modelines and set secure mode. Replace vim.cmd highlight
overrides with nvim_set_hl API. Remove redundancies.
Add desc to all keymaps for auditability.
2026-04-18 14:01:33 +02:00

6 lines
258 B
Lua

require("tokyonight").setup({ style = "night" })
vim.cmd([[colorscheme tokyonight]])
-- Must be set after loading theme
vim.api.nvim_set_hl(0, "Normal", { bg = "NONE", ctermbg = "NONE" })
vim.api.nvim_set_hl(0, "NonText", { bg = "NONE", ctermbg = "NONE" })