onedark.vim 834 B

12345678910111213141516171819202122232425
  1. " onedark.vim override: Don't set a background color when running in a terminal;
  2. " if (has("autocmd") && !has("gui_running"))
  3. " augroup colorset
  4. " autocmd!
  5. " let s:white = { "gui": "#ABB2BF", "cterm": "145", "cterm16" : "7" }
  6. " autocmd ColorScheme * call onedark#set_highlight("Normal", { "fg": s:white }) " `bg` will not be styled since there is no `bg` setting
  7. " augroup END
  8. " endif
  9. "autocmd ColorScheme * call onedark#set_highlight("Normal", { "fg": s:white }) " `bg` will not be styled since there is no `bg` setting
  10. hi Comment cterm=italic
  11. let g:onedark_hide_endofbuffer=1
  12. let g:onedark_terminal_italics=1
  13. let g:onedark_termcolors=256
  14. syntax on
  15. colorscheme onedark
  16. " checks if your terminal has 24-bit color support
  17. if (has("termguicolors"))
  18. set termguicolors
  19. hi LineNr ctermbg=NONE guibg=NONE
  20. endif