aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Arctic Ice Studio <development@arcticicestudio.com>2019-04-13 13:54:05 +0200
committerGravatar Arctic Ice Studio <development@arcticicestudio.com>2019-04-13 13:54:05 +0200
commita23e959ca9017a7e81b5a2be1af3f83b337fcdb2 (patch)
treeb8c5fadfc34d97ca969f47fe58a58d9902977ada
parenta649fff5735f56bd5d38f4b4ed295c1c57626197 (diff)
downloadnord-vim-a23e959ca9017a7e81b5a2be1af3f83b337fcdb2.tar.gz
Haskell Syntax Plugin Support
Added support for Haskell syntax through the neovimhaskell/haskell-vim (1) plugin. This includes better coloring for types/classes using `nord7` instead of highlighting them like keywords (`nord9`) and pre-processor and pragma elements are now colorized correctly with `nord10`. References: (1) https://github.com/neovimhaskell/haskell-vim GH-104
-rwxr-xr-xcolors/nord.vim6
1 files changed, 6 insertions, 0 deletions
diff --git a/colors/nord.vim b/colors/nord.vim
index 328245f..848f051 100755
--- a/colors/nord.vim
+++ b/colors/nord.vim
@@ -548,6 +548,12 @@ call s:hi("plugDeleted", s:nord11_gui, "", "", s:nord11_term, "", "")
call s:hi("SignatureMarkText", s:nord8_gui, "", s:nord8_term, "", "", "")
"+--- Languages ---+
+" Haskell
+" > neovimhaskell/haskell-vim
+call s:hi("haskellPreProc", s:nord10_gui, "", s:nord10_term, "", "", "")
+call s:hi("haskellType", s:nord7_gui, "", s:nord7_term, "", "", "")
+hi! link haskellPragma haskellPreProc
+
" JavaScript
" > pangloss/vim-javascript
call s:hi("jsGlobalNodeObjects", s:nord8_gui, "", s:nord8_term, "", s:italic, "")