nvim-lua / kickstart.nvim

A launch point for your personal nvim configuration
MIT License
18.86k stars 21.57k forks source link

Newbie installing a theme. #518

Closed MubinMuhammad closed 10 months ago

MubinMuhammad commented 10 months ago

Describe the bug

Can't install the tomorrow theme. Did copy the 'chriskempson/tomorrow-theme' from github. And there are a lot of variations of this theme. Such as: Tomorrow Night, Tomorrow, Tomorrow Night Eighties, Tomorrow Night Blue, Tomorrow Night Bright. And now what do i do to use a specific variation?

Thanks.

To Reproduce

  1. Try installing Tomorrow theme.

Desktop

Neovim Version

NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1700008891

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/share/nvim"

Run :checkhealth for more info

Thanks.

dam9000 commented 10 months ago

That theme is a bit harder to install, here is what you need to add to the plugin list:

  {
    'chriskempson/tomorrow-theme',
    config = function(plugin)
      vim.opt.rtp:append(plugin.dir .. "/vim")
    end
  },

This works for me.

And if I may, I'd suggest to try out this theme as well:

  { 'dam9000/colorscheme-midnightblue', },

yes this is mine, feedback welcome :D

MubinMuhammad commented 10 months ago

Thanks, You theme looks pretty cool, added a star! I think, you can improve it by adding a variation with dark green background color, to make it pleasant. About the problem now, how do I select a variation of that theme?

MubinMuhammad commented 10 months ago

how do I select a variation of that theme?

dam9000 commented 10 months ago

A variation of the Tomorrow theme? With the plugin installed as I described you get all 5 variations. Try typing:

:colorscheme Tomorrow<TAB>

and it will popup a list with all variations. If it doesn't, check if the plugin got installed properly, from shell:

ls -1 ~/.local/share/nvim/lazy/tomorrow-theme/vim/colors
Tomorrow-Night-Blue.vim
Tomorrow-Night-Bright.vim
Tomorrow-Night-Eighties.vim
Tomorrow-Night.vim
Tomorrow.vim
MubinMuhammad commented 10 months ago

I usually use the Tomorrow-Night but it doesn't look like the Tomorrow-Night. It more so matches with gruvbox or To Tomorrow-Night-Eighties. Why is it happening. It worked just fine with a distro.

dam9000 commented 10 months ago

Which distro? Perhaps it is not using the original Tomorrow-Night, but some other clone?

MubinMuhammad commented 10 months ago

NvChad. But looking at the image in the github repository of Tomorrow Theme, the image provided for that theme does not match the colors with my nvim.

feoh commented 10 months ago

Super glad folks wre able to help out, but this isn't a bug per-se :) Closing.