forked from LunarVim/Neovim-from-scratch
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Alexander Adhyatma
committed
Mar 19, 2022
1 parent
6a13d7f
commit 94f00ac
Showing
3 changed files
with
46 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,45 @@ | ||
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 | ||
}, | ||
} | ||
|
||
vim.cmd [[ | ||
try | ||
colorscheme tokyonight | ||
" colorscheme kanagawa | ||
" colorscheme tokyonight | ||
" colorscheme kanagawa | ||
colorscheme onedark | ||
catch /^Vim\%((\a\+)\)\=:E185/ | ||
colorscheme default | ||
set background=dark | ||
endtry | ||
]] | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters