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.18k stars 410 forks source link

Unable to use plugin #206

Closed b1t-ninja closed 2 years ago

b1t-ninja commented 2 years ago

Unable to use the plugin

After installing the theme and setting it as colour theme, it does not work, is there something wrong with my config ?

  plugins = {
    init = {
      {
        "folke/tokyonight.nvim",
        as = "tokioo",
      },
       },
    },
kx0101 commented 2 years ago

is it too dark and weird like mines ?

folke commented 2 years ago

Can you be more specific on what's not working?

Also, I have no idea what that code means. Lunarvim or some other distro?

Are you sure the plugin is loaded?

What happens if you do colorscheme tokyonight?

folke commented 2 years ago

I accidentally commited a change earlier today that only worked on Neovim 0.8, so that might also be the issue you had. Please update and check if it works now.

kx0101 commented 2 years ago

@folke could you by any chance know why the colorscheme is different in tmux and in regular ubuntu terminal ?

folke commented 2 years ago

@kx0101 you need a terminal that supports native full colors. Also make sure termguicolors is set inside neovim.

YoEight commented 2 years ago

I can't use the plugin either after an update and here's the error I got:

                    Error detected while processing /home/yoeight/.local/share/nvim/site/pack/packer/start/tokyonight.nvim/colors
/tokyonight.lua:
W18: Invalid character in group name
W18: Invalid character in group name
Press ENTER or type command to continue

I don't know if my issue is related to OP's, I'm willing to open another issue if it isn't the case.

kx0101 commented 2 years ago

same

YoEight commented 2 years ago

Turns out my issue got fixed by https://github.com/folke/tokyonight.nvim/issues/207 but I can no longer use the day style. I'm opening a different issue.

b1t-ninja commented 2 years ago

@folke yes I'm using Astro vim, when I set 'colorscheme = tokionight' nothing happens, it just defaults to the default color scheme 🫠

b1t-ninja commented 2 years ago

I'm am sure the plug-in is installed

folke commented 2 years ago

@b1twe1ser no idea how astrovim loads modules. You'll have to check there to see what's wrong

b1t-ninja commented 2 years ago

Alright thank you for your assistance 🫡