-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
Showing
6 changed files
with
47 additions
and
14 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
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,3 +1,36 @@ | ||
require('core.pack'):boot_strap() | ||
require('core.options') | ||
vim.cmd.colorscheme('solarized') | ||
|
||
-- read colorscheme from environment vairable COLORSCHEME | ||
if vim.env.COLORSCHEME then | ||
vim.cmd.colorscheme(vim.env.COLORSCHEME) | ||
return | ||
end | ||
|
||
if not vim.g.colors_name then | ||
vim.cmd([[ | ||
hi EndOfBuffer guifg=#14161b | ||
hi Function guifg=#a6dbff | ||
hi link @property @variable | ||
hi Type guifg=#fce094 | ||
hi link @type.builtin Type | ||
hi link @type Type | ||
hi link Delimiter Comment | ||
hi DiagnosticUnderlineError guisp=#ffc0b9 cterm=undercurl gui=undercurl | ||
hi DiagnosticUnderlineWarn guisp=#fce094 cterm=undercurl gui=undercurl | ||
hi DiagnosticUnderlineInfo guisp=#8cf8f7 cterm=undercurl gui=undercurl | ||
hi DiagnosticUnderlineHint guisp=#a6dbff cterm=undercurl gui=undercurl | ||
hi DiagnosticUnderlineOk guisp=#b3f6c0 cterm=underline gui=underline | ||
hi IndentLine guifg=#2c2e33 | ||
hi IndentLineCurrent guifg=#9b9ea4 | ||
hi netrwTreeBar guifg=#2c2e33 | ||
hi DashboardHeader guifg=#b3f6c0 | ||
hi GitSignsAdd guifg=#005523 | ||
hi GitSignsChange guifg=#007373 | ||
hi GitSignsDelete guifg=#590008 | ||
]]) | ||
end |
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
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