-
-
Notifications
You must be signed in to change notification settings - Fork 275
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
5 changed files
with
120 additions
and
21 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
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 |
---|---|---|
|
@@ -4,9 +4,9 @@ | |
" repository https://github.com/arcticicestudio/nord-vim + | ||
" author Arctic Ice Studio + | ||
" email [email protected] + | ||
" copyright Copyright (C) 2016 + | ||
" copyright Copyright (C) 2017 + | ||
" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
let s:nord_vim_version="0.3.0" | ||
let s:nord_vim_version="0.4.0" | ||
let g:airline#themes#nord#palette = {} | ||
|
||
let s:nord0_gui = "#2E3440" | ||
|
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 |
---|---|---|
|
@@ -4,9 +4,9 @@ | |
" repository https://github.com/arcticicestudio/nord-vim + | ||
" author Arctic Ice Studio + | ||
" email [email protected] + | ||
" copyright Copyright (C) 2016 + | ||
" copyright Copyright (C) 2017 + | ||
" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
let s:nord_vim_version="0.3.0" | ||
let s:nord_vim_version="0.4.0" | ||
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}} | ||
|
||
let s:nord0 = ["#2E3440", "NONE"] | ||
|
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 |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
" repository https://github.com/arcticicestudio/nord-vim + | ||
" author Arctic Ice Studio + | ||
" email [email protected] + | ||
" copyright Copyright (C) 2016 + | ||
" copyright Copyright (C) 2017 + | ||
" ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ | ||
if version > 580 | ||
hi clear | ||
|
@@ -14,7 +14,7 @@ if version > 580 | |
endif | ||
|
||
let g:colors_name = "nord" | ||
let s:nord_vim_version="0.3.0" | ||
let s:nord_vim_version="0.4.0" | ||
set background=dark | ||
|
||
let s:nord0_gui = "#2E3440" | ||
|
@@ -48,7 +48,16 @@ let s:nord13_term = "3" | |
let s:nord14_term = "2" | ||
let s:nord15_term = "5" | ||
|
||
if !exists('g:nord_italic_comments') | ||
let g:nord_italic_comments = 0 | ||
endif | ||
|
||
function! s:hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | ||
let l:attr = a:attr | ||
if g:nord_italic_comments == 0 && l:attr ==? 'italic' | ||
let l:attr= 'NONE' | ||
endif | ||
|
||
if a:guifg != "" | ||
exec "hi " . a:group . " guifg=" . a:guifg | ||
endif | ||
|
@@ -62,7 +71,7 @@ function! s:hi(group, guifg, guibg, ctermfg, ctermbg, attr, guisp) | |
exec "hi " . a:group . " ctermbg=" . a:ctermbg | ||
endif | ||
if a:attr != "" | ||
exec "hi " . a:group . " gui=" . a:attr . " cterm=" . a:attr | ||
exec "hi " . a:group . " gui=" . l:attr . " cterm=" . l:attr | ||
endif | ||
if a:guisp != "" | ||
exec "hi " . a:group . " guisp=" . a:guisp | ||
|
@@ -137,7 +146,7 @@ call s:hi("VertSplit", s:nord2_gui, s:nord1_gui, s:nord3_term, s:nord1_term, "NO | |
"+----------------------+ | ||
call s:hi("Boolean", s:nord9_gui, "", s:nord9_term, "", "", "") | ||
call s:hi("Character", s:nord14_gui, "", s:nord14_term, "", "", "") | ||
call s:hi("Comment", s:nord3_gui, "", s:nord3_term, "", "", "") | ||
call s:hi("Comment", s:nord3_gui, "", s:nord3_term, "", "italic", "") | ||
call s:hi("Conditional", s:nord9_gui, "", s:nord9_term, "", "", "") | ||
call s:hi("Constant", s:nord4_gui, "", "NONE", "", "", "") | ||
call s:hi("Define", s:nord9_gui, "", s:nord9_term, "", "", "") | ||
|
@@ -155,7 +164,7 @@ call s:hi("PreProc", s:nord9_gui, "", s:nord9_term, "", "NONE", "") | |
call s:hi("Repeat", s:nord9_gui, "", s:nord9_term, "", "", "") | ||
call s:hi("Special", s:nord4_gui, "", "NONE", "", "", "") | ||
call s:hi("SpecialChar", s:nord13_gui, "", s:nord13_term, "", "", "") | ||
call s:hi("SpecialComment", s:nord8_gui, "", s:nord8_term, "", "", "") | ||
call s:hi("SpecialComment", s:nord8_gui, "", s:nord8_term, "", "italic", "") | ||
call s:hi("Statement", s:nord9_gui, "", s:nord9_term, "", "", "") | ||
call s:hi("StorageClass", s:nord9_gui, "", s:nord9_term, "", "", "") | ||
call s:hi("String", s:nord14_gui, "", s:nord14_term, "", "", "") | ||
|
@@ -170,6 +179,23 @@ hi! link PreCondit PreProc | |
"+-----------+ | ||
"+ Languages + | ||
"+-----------+ | ||
call s:hi("awkCharClass", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("awkPatterns", s:nord9_gui, "", s:nord9_term, "", "bold", "") | ||
hi! link awkArrayElement Identifier | ||
hi! link awkBoolLogic Keyword | ||
hi! link awkBrktRegExp SpecialChar | ||
hi! link awkComma Delimiter | ||
hi! link awkExpression Keyword | ||
hi! link awkFieldVars Identifier | ||
hi! link awkLineSkip Keyword | ||
hi! link awkOperator Operator | ||
hi! link awkRegExp SpecialChar | ||
hi! link awkSearch Keyword | ||
hi! link awkSemicolon Delimiter | ||
hi! link awkSpecialCharacter SpecialChar | ||
hi! link awkSpecialPrintf SpecialChar | ||
hi! link awkVariables Identifier | ||
|
||
call s:hi("cIncluded", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
hi! link cOperator Operator | ||
hi! link cPreCondit PreCondit | ||
|
@@ -191,6 +217,9 @@ hi! link cssPseudoClass cssDefinition | |
hi! link cssPseudoClassId cssPseudoClass | ||
hi! link cssVendor Keyword | ||
|
||
call s:hi("dosiniHeader", s:nord8_gui, "", s:nord8_term, "", "", "") | ||
hi! link dosiniLabel Type | ||
|
||
call s:hi("dtBooleanKey", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("dtExecKey", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("dtLocaleKey", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
|
@@ -238,6 +267,12 @@ hi! link lessCssAttribute Delimiter | |
hi! link lessFunction Function | ||
hi! link cssSelectorOp Keyword | ||
|
||
hi! link lispAtomBarSymbol SpecialChar | ||
hi! link lispAtomList SpecialChar | ||
hi! link lispAtomMark Keyword | ||
hi! link lispBarSymbol SpecialChar | ||
hi! link lispFunc Function | ||
|
||
hi! link luaFunc Function | ||
|
||
call s:hi("markdownBlockquote", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
|
@@ -246,7 +281,7 @@ call s:hi("markdownCodeDelimiter", s:nord7_gui, "", s:nord7_term, "", "", "") | |
call s:hi("markdownFootnote", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("markdownId", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("markdownIdDeclaration", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("markdownH1", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("markdownH1", s:nord8_gui, "", s:nord8_term, "", "", "") | ||
call s:hi("markdownLinkText", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("markdownUrl", s:nord4_gui, "", "NONE", "", "NONE", "") | ||
hi! link markdownFootnoteDefinition markdownFootnote | ||
|
@@ -274,6 +309,7 @@ call s:hi("podVerbatimLine", s:nord4_gui, "", "NONE", "", "", "") | |
hi! link podFormat Keyword | ||
|
||
hi! link pythonBuiltin Type | ||
hi! link pythonEscape SpecialChar | ||
|
||
call s:hi("rubyConstant", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
hi! link rubyAttribute Identifier | ||
|
@@ -304,6 +340,7 @@ hi! link shDerefSimple Identifier | |
hi! link shDerefVar Identifier | ||
|
||
hi! link sqlKeyword Keyword | ||
hi! link sqlSpecial Keyword | ||
|
||
call s:hi("vimAugroup", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
call s:hi("vimMapRhs", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
|
@@ -338,6 +375,10 @@ call s:hi("GitGutterChange", s:nord13_gui, "", s:nord13_term, "", "", "") | |
call s:hi("GitGutterChangeDelete", s:nord11_gui, "", s:nord11_term, "", "", "") | ||
call s:hi("GitGutterDelete", s:nord11_gui, "", s:nord11_term, "", "", "") | ||
|
||
" davidhalter/jedi-vim | ||
call s:hi("jediFunction", s:nord4_gui, s:nord3_gui, "", s:nord3_term, "", "") | ||
call s:hi("jediFat", s:nord8_gui, s:nord3_gui, s:nord8_term, s:nord3_term, "bold,underline", "") | ||
|
||
" NERDTree | ||
" > scrooloose/nerdtree | ||
call s:hi("NERDTreeExecFile", s:nord7_gui, "", s:nord7_term, "", "", "") | ||
|