folke / tokyonight.nvim

🏙 A clean, dark Neovim theme written in Lua, with support for lsp, treesitter and lots of plugins. Includes additional themes for Kitty, Alacritty, iTerm and Fish.
Apache License 2.0
6.34k stars 425 forks source link

Text rendered as black and barely readable #106

Closed nathanielks closed 3 years ago

nathanielks commented 3 years ago

I love this theme, thank you! I'm using both the Neovim and kitty configs. I'm using the theme in conjunction with Lunarvim and for some reason some text is being rendered in black. Here's a couple examples: Screenshot from 2021-09-28 17-45-34

Screenshot from 2021-09-28 17-45-49

Here's my Lunarvim config for reference: ``` -- general lvim.format_on_save = false lvim.lint_on_save = true vim.g.tokyonight_italic_functions = true lvim.colorscheme = "tokyonight" -- vim.o.background = "light" -- lvim.colorscheme = "PaperColorSlim" -- keymappings lvim.leader = "space" -- After changing plugin config exit and reopen LunarVim, Run :PackerInstall :PackerCompile lvim.builtin.dashboard.active = true lvim.builtin.terminal.active = true -- lvim.builtin.zen.active = true -- lvim.builtin.zen.window.height = 0.90 lvim.builtin.nvimtree.side = "left" lvim.builtin.nvimtree.hide_dotfiles = 0 lvim.builtin.telescope.path_display = { "shorten" } -- if you don't want all the parsers change this to a table of the ones you want lvim.builtin.treesitter.ensure_installed = "maintained" lvim.builtin.treesitter.highlight.enabled = true -- Additional Plugins lvim.plugins = { {"lunarvim/colorschemes"}, {"folke/tokyonight.nvim"}, {"pappasam/papercolor-theme-slim"}, {"Raimondi/delimitMate"}, {"tpope/vim-projectionist"}, {"tpope/vim-surround"}, {"editorconfig/editorconfig-vim"}, {"mklabs/split-term.vim"}, {"folke/zen-mode.nvim"}, { "folke/twilight.nvim", config = function() require("twilight").setup { dimming = { alpha = 0.25, -- amount of dimming } } end }, { "ray-x/lsp_signature.nvim", config = function() require"lsp_signature".on_attach() end, event = "InsertEnter" }, { "abecodes/tabout.nvim", config = function() require('tabout').setup { tabkey = '', -- key to trigger tabout act_as_tab = true, -- shift content if tab out is not possible completion = true, -- if the tabkey is used in a completion pum tabouts = { {open = "'", close = "'"}, {open = '"', close = '"'}, {open = '`', close = '`'}, {open = '(', close = ')'}, {open = '[', close = ']'}, {open = '{', close = '}'} }, ignore_beginning = true, --[[ if the cursor is at the beginning of a filled element it will rather tab out than shift the content ]] exclude = {} -- tabout will ignore these filetypes } end, wants = {'nvim-treesitter'}, -- or require if not used so far --after = {'completion-nvim'} -- if a completion plugin is using tabs load it before }, { "folke/todo-comments.nvim", requires = "nvim-lua/plenary.nvim" }, { "beauwilliams/focus.nvim", config = function() require("focus").setup({ hybridnumber = true, winhighlight = true }) end } } vim.g.rooter_patterns = { "package.json", "src", ".git" } -- Autocommands (https://neovim.io/doc/user/autocmd.html) -- lvim.autocommands.custom_groups = { -- { "BufWinEnter", "*.lua", "setlocal ts=8 sw=8" }, -- } lvim.builtin.which_key.mappings["A"] = { name = "Projectionist", a = { ":A", "Open Alternate" }, s = { ":AS", "Open Alternate in split" }, v = { ":AV", "Open Alternate in vertical split" }, } lvim.builtin.which_key.mappings["F"] = { name = "+fold", O = {":set foldlevel=20", 'open all'}, C = {":set foldlevel=0", 'close all'}, c = {":foldclose", 'close'}, o = {":foldopen", 'open'} } lvim.builtin.which_key.mappings["Z"] = { "ZenMod", "Zen Mode" } lvim.builtin.which_key.mappings["V"] = { "FocusSplitNicely", "Split vertically" } ```
nathanielks commented 3 years ago

My apologies, this was due to beauwilliams/focus.nvim winhighlight option. Disabling that fixed the issue for me.