Suppose you are using vim-plug:
Plug 'sainnhe/vim-color-atlantis'For better syntax highlighting support, please install sheerun/vim-polyglot.
set termguicolors
colorscheme atlantisTo enable lightline color scheme, put this in your vimrc
let g:lightline = {}
let g:lightline.colorscheme = 'atlantis'
" or this line
let g:lightline = {'colorscheme' : 'atlantis'}or if you want to apply it without reload
:let g:lightline.colorscheme = 'atlantis'
:call lightline#init()
:call lightline#colorscheme()
:call lightline#update()Q: It doesn't work as expected.
A:
-
This color scheme is designed for true colors,
set termguicolorsis required. Check output ofvim --version, maybe your vim doesn't supporttermguicolors -
Maybe your terminal emulator doesn't support true colors, you can test it using this script
-
If you are running vim in tmux, you need to override default true colors of tmux, as tmux cannot display true color properly: #1246 How to use true colors in vim under tmux?
-
There are many highlighting group links in syntax files while a color scheme may change them, enabling one color scheme based on another color scheme enabled is very likely to cause color broken. If there is any color broken, you can enable the color scheme in your vimrc instead of after vim startup.
Q: What's your status line configuration?
A: check this gist.
This color scheme is generated by lifepillar/vim-colortemplate. To hack it, install this plugin and edit templates/atlantis.colortemplate, then rebuild the color scheme.
MIT && Anti-996
