forked from LunarVim/Neovim-from-scratch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolorscheme.lua
57 lines (53 loc) · 1.92 KB
/
colorscheme.lua
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
-- require('onedark').setup {
-- -- Main options --
-- style = 'dark', -- Default theme style. Choose between 'dark', 'darker', 'cool', 'deep', 'warm', 'warmer' and 'light'
-- transparent = false, -- Show/hide background
-- term_colors = true, -- Change terminal color as per the selected theme style
-- ending_tildes = false, -- Show the end-of-buffer tildes. By default they are hidden
-- -- toggle theme style ---
-- toggle_style_key = '<leader>ts', -- Default keybinding to toggle
-- toggle_style_list = {'dark', 'darker', 'cool', 'deep', 'warm', 'warmer', 'light'}, -- List of styles to toggle between
--
-- -- Change code style ---
-- -- Options are italic, bold, underline, none
-- -- You can configure multiple style with comma seperated, For e.g., keywords = 'italic,bold'
-- code_style = {
-- comments = 'italic',
-- keywords = 'none',
-- functions = 'none',
-- strings = 'none',
-- variables = 'none'
-- },
--
-- -- Custom Highlights --
-- colors = {}, -- Override default colors
-- highlights = {}, -- Override highlight groups
--
-- -- Plugins Config --
-- diagnostics = {
-- darker = true, -- darker colors for diagnostic
-- undercurl = true, -- use undercurl instead of underline for diagnostics
-- background = true, -- use background color for virtual text
-- },
-- }
-- require("github-theme").setup({
-- theme_style = "dark",
-- comment_style = "italic",
--
-- -- Change the "hint" color to the "orange" color, and make the "error" color bright red
-- colors = {hint = "orange", error = "#ff0000"},
-- })
-- require('carbon').set()
vim.cmd([[
try
colorscheme tokyonight
" colorscheme kanagawa
" colorscheme onedark
" colorscheme carbon
" colorscheme github_dark
catch /^Vim\%((\a\+)\)\=:E185/
colorscheme default
set background=dark
endtry
]])
require("colorizer").setup()