mirror of
https://github.com/nordtheme/vim.git
synced 2026-09-10 07:36:23 -04:00
Merge branch 'release/0.15.0'
This commit is contained in:
commit
57dffa7469
47
CHANGELOG.md
47
CHANGELOG.md
|
|
@ -6,6 +6,43 @@
|
|||
|
||||
<!--lint disable no-duplicate-headings-->
|
||||
|
||||
# 0.15.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/21) [](https://github.com/arcticicestudio/nord-vim/milestone/17)
|
||||
|
||||
## Features
|
||||
|
||||
### Syntax
|
||||
|
||||
**Extended support for TypeScript and TSX** — #208 (⊶ 1bd44ade) by [@iamdidev][gh-user-iamdidev]
|
||||
↠ Added extended support for [TypeScript][] and [TSX][ts-docs-jsx] through the [yats.vim][herringtonharkholme/yats.vim] plugin.
|
||||
This provides, among many other good changes, better highlighting for syntax elements like [decorators][ts-docs-decorators], more granular separation of different language elements within a single code line as well as highlighting for…
|
||||
|
||||
<p align="center"><strong>…interfaces with bold font style, typing characters and types.</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84699121-43a01d80-af51-11ea-8ca2-7560791e04f5.png" width="20%" /></p>
|
||||
|
||||
<p align="center"><strong>…global methods like <code>setTimeout</code> with italic font style.</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84700311-3d12a580-af53-11ea-8102-39c86eb54df9.png" width="40%" /></p>
|
||||
|
||||
<p align="center"><strong>…regular expressions with <code>nord13</code> instead of the normal color for quoted strings.</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84700066-dd1bff00-af52-11ea-8876-22eeec81e8a0.png" width="40%" /></p>
|
||||
|
||||
<p align="center"><strong>…global elements like <code>Error</code>, <code>JSON</code> and <code>console</code>.</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84698135-94167b80-af4f-11ea-86e6-29df3bf34c61.png" width="40%" /></p>
|
||||
|
||||
<p align="center"><strong>…brackets of types as structural elements.</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84701261-f2922880-af54-11ea-9779-ba1314480921.png" width="40%" /></p>
|
||||
|
||||
<p align="center"><strong>…TSX/JSX and HTML with a consistent appearance.</strong></p>
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/84701503-66cccc00-af55-11ea-80b7-9793fc894284.png" width="40%" /></p>
|
||||
|
||||
### UI
|
||||
|
||||
**Support for vim-clap** — #178 (⊶ 7a52f66c) by [@meck][gh-user-meck] and [@ikalnytskyi][gh-user-ikalnytskyi]
|
||||
↠ Added basic support for [vim-clap][liuchengxu/vim-clap], a modern and performant generic finder and dispatcher for Vim and NeoVim.
|
||||
|
||||
<p align="center"><img src="https://user-images.githubusercontent.com/7836623/86534351-0daee300-bed8-11ea-9685-031d16b5a07b.png" width="666px" /></p>
|
||||
|
||||
# 0.14.0
|
||||
|
||||
 [](https://github.com/arcticicestudio/nord-vim/projects/20) [](https://github.com/arcticicestudio/nord-vim/milestone/16)
|
||||
|
|
@ -836,3 +873,13 @@ Detailed information about features, supported plugins/languages and install ins
|
|||
[gh-user-xulongwu4]: https://github.com/xulongwu4
|
||||
[neovim/nvim-lsp]: https://github.com/neovim/nvim-lsp
|
||||
[yggdroot/leaderf]: https://github.com/Yggdroot/LeaderF
|
||||
|
||||
<!--v 0.15.0 -->
|
||||
|
||||
[gh-user-iamdidev]: https://github.com/iamdidev
|
||||
[gh-user-ikalnytskyi]: https://github.com/ikalnytskyi
|
||||
[herringtonharkholme/yats.vim]: https://github.com/HerringtonDarkholme/yats.vim
|
||||
[liuchengxu/vim-clap]: https://github.com/liuchengxu/vim-clap
|
||||
[ts-docs-decorators]: https://www.typescriptlang.org/docs/handbook/decorators.html
|
||||
[ts-docs-jsx]: https://www.typescriptlang.org/docs/handbook/jsx.html
|
||||
[typescript]: https://www.typescriptlang.org
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
" Repository: https://github.com/arcticicestudio/nord-vim
|
||||
" License: MIT
|
||||
|
||||
let s:nord_vim_version="0.14.0"
|
||||
let s:nord_vim_version="0.15.0"
|
||||
let g:airline#themes#nord#palette = {}
|
||||
|
||||
let s:nord0_gui = "#2E3440"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
" Repository: https://github.com/arcticicestudio/nord-vim
|
||||
" License: MIT
|
||||
|
||||
let s:nord_vim_version="0.14.0"
|
||||
let s:nord_vim_version="0.15.0"
|
||||
let s:p = {'normal': {}, 'inactive': {}, 'insert': {}, 'replace': {}, 'visual': {}, 'tabline': {}}
|
||||
|
||||
let s:nord0 = ["#2E3440", "NONE"]
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ if version > 580
|
|||
endif
|
||||
|
||||
let g:colors_name = "nord"
|
||||
let s:nord_vim_version="0.14.0"
|
||||
let s:nord_vim_version="0.15.0"
|
||||
set background=dark
|
||||
|
||||
let s:nord0_gui = "#2E3440"
|
||||
|
|
@ -566,13 +566,6 @@ call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "")
|
|||
call s:hi("CocInfoSign" , s:nord8_gui, "", s:nord8_term, "", "", "")
|
||||
call s:hi("CocHintSign" , s:nord10_gui, "", s:nord10_term, "", "", "")
|
||||
|
||||
" Coc
|
||||
" > neoclide/coc
|
||||
call s:hi("CocWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "")
|
||||
call s:hi("CocWarningSign", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
call s:hi("CocErrorSign" , s:nord11_gui, "", s:nord11_term, "", "", "")
|
||||
|
||||
" Nvim LSP
|
||||
" > neovim/nvim-lsp
|
||||
call s:hi("LSPDiagnosticsWarning", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
|
|
@ -615,6 +608,36 @@ hi! link NERDTreeHelp Comment
|
|||
hi! link CtrlPMatch Keyword
|
||||
hi! link CtrlPBufferHid Normal
|
||||
|
||||
" vim-clap
|
||||
" > liuchengxu/vim-clap
|
||||
call s:hi("ClapDir", s:nord4_gui, "", "", "", "", "")
|
||||
call s:hi("ClapDisplay", s:nord4_gui, s:nord1_gui, "", s:nord1_term, "", "")
|
||||
call s:hi("ClapFile", s:nord4_gui, "", "", "NONE", "", "")
|
||||
call s:hi("ClapMatches", s:nord8_gui, "", s:nord8_term, "", "", "")
|
||||
call s:hi("ClapNoMatchesFound", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
call s:hi("ClapSelected", s:nord7_gui, "", s:nord7_term, "", s:bold, "")
|
||||
call s:hi("ClapSelectedSign", s:nord9_gui, "", s:nord9_term, "", "", "")
|
||||
|
||||
let s:clap_matches = [
|
||||
\ [s:nord8_gui, s:nord8_term] ,
|
||||
\ [s:nord9_gui, s:nord9_term] ,
|
||||
\ [s:nord10_gui, s:nord10_term] ,
|
||||
\ ]
|
||||
for s:nord_clap_match_i in range(1,12)
|
||||
let clap_match_color = s:clap_matches[s:nord_clap_match_i % len(s:clap_matches) - 1]
|
||||
call s:hi("ClapMatches" . s:nord_clap_match_i, clap_match_color[0], "", clap_match_color[1], "", "", "")
|
||||
call s:hi("ClapFuzzyMatches" . s:nord_clap_match_i, clap_match_color[0], "", clap_match_color[1], "", "", "")
|
||||
endfor
|
||||
unlet s:nord_clap_match_i
|
||||
|
||||
hi! link ClapCurrentSelection PmenuSel
|
||||
hi! link ClapCurrentSelectionSign ClapSelectedSign
|
||||
hi! link ClapInput Pmenu
|
||||
hi! link ClapPreview Pmenu
|
||||
hi! link ClapProviderAbout ClapDisplay
|
||||
hi! link ClapProviderColon Type
|
||||
hi! link ClapProviderId Type
|
||||
|
||||
" vim-plug
|
||||
" > junegunn/vim-plug
|
||||
call s:hi("plugDeleted", s:nord11_gui, "", "", s:nord11_term, "", "")
|
||||
|
|
@ -652,6 +675,47 @@ hi! link jsNoise Delimiter
|
|||
hi! link jsPrototype Keyword
|
||||
hi! link jsRegexpString SpecialChar
|
||||
|
||||
" TypeScript
|
||||
" > HerringtonDarkholme/yats.vim
|
||||
call s:hi("typescriptBOMWindowMethod", s:nord8_gui, "", s:nord8_term, "", s:italic, "")
|
||||
call s:hi("typescriptClassName", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
call s:hi("typescriptDecorator", s:nord12_gui, "", s:nord12_term, "", "", "")
|
||||
call s:hi("typescriptInterfaceName", s:nord7_gui, "", s:nord7_term, "", s:bold, "")
|
||||
call s:hi("typescriptRegexpString", s:nord13_gui, "", s:nord13_term, "", "", "")
|
||||
" TypeScript JSX
|
||||
call s:hi("tsxAttrib", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
hi! link typescriptOperator Operator
|
||||
hi! link typescriptBinaryOp Operator
|
||||
hi! link typescriptAssign Operator
|
||||
hi! link typescriptMember Identifier
|
||||
hi! link typescriptDOMStorageMethod Identifier
|
||||
hi! link typescriptArrowFuncArg Identifier
|
||||
hi! link typescriptGlobal typescriptClassName
|
||||
hi! link typescriptBOMWindowProp Function
|
||||
hi! link typescriptArrowFuncDef Function
|
||||
hi! link typescriptAliasDeclaration Function
|
||||
hi! link typescriptPredefinedType Type
|
||||
hi! link typescriptTypeReference typescriptClassName
|
||||
hi! link typescriptTypeAnnotation Structure
|
||||
hi! link typescriptDocNamedParamType SpecialComment
|
||||
hi! link typescriptDocNotation Keyword
|
||||
hi! link typescriptDocTags Keyword
|
||||
hi! link typescriptImport Keyword
|
||||
hi! link typescriptExport Keyword
|
||||
hi! link typescriptTry Keyword
|
||||
hi! link typescriptVariable Keyword
|
||||
hi! link typescriptBraces Normal
|
||||
hi! link typescriptObjectLabel Normal
|
||||
hi! link typescriptCall Normal
|
||||
hi! link typescriptClassHeritage typescriptClassName
|
||||
hi! link typescriptFuncTypeArrow Structure
|
||||
hi! link typescriptMemberOptionality Structure
|
||||
hi! link typescriptNodeGlobal typescriptGlobal
|
||||
hi! link typescriptTypeBrackets Structure
|
||||
hi! link tsxEqual Operator
|
||||
hi! link tsxIntrinsicTagName htmlTag
|
||||
hi! link tsxTagName tsxIntrinsicTagName
|
||||
|
||||
" Markdown
|
||||
" > plasticboy/vim-markdown
|
||||
call s:hi("mkdCode", s:nord7_gui, "", s:nord7_term, "", "", "")
|
||||
|
|
|
|||
Loading…
Reference in a new issue