Skip to content
This repository has been archived by the owner on Mar 6, 2021. It is now read-only.

Added basic Haskell support. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions colors/vadelma.vim
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@
" to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
" copies of the Software, and to permit persons to whom the Software is
" furnished to do so, subject to the following conditions:
"
"
" The above copyright notice and this permission notice shall be included in
" all copies or substantial portions of the Software.
"
"
" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
Expand Down Expand Up @@ -107,10 +107,10 @@ function! s:hl(hl_group, bg_color, fg_color, ...)
exe printf(
\ "hi %s guibg=%s ctermbg=%s guifg=%s ctermfg=%s gui=%s cterm=%s",
\ a:hl_group,
\ l:bg_color[0],
\ l:bg_color[1],
\ l:fg_color[0],
\ l:fg_color[1],
\ l:bg_color[0],
\ l:bg_color[1],
\ l:fg_color[0],
\ l:fg_color[1],
\ l:style,
\ l:style
\)
Expand Down Expand Up @@ -184,6 +184,15 @@ hi! link rubySymbol Number
hi! link rubyLocalVariableOrMethod Identifier
hi! link rubyPseudoVariable Number

" Haskell Highlighting
hi! link haskellType Type
hi! link haskellIdentifier Identifier
hi! link haskellOperators Operator
hi! link haskellWhere Operator
hi! link haskellDelimiter Operator
hi! link haskellImportKeywords Statement
hi! link haskellStatement Statement

if has('nvim')
call s:hl('healthSuccess', [], s:green)
hi! link NormalNC Normal
Expand All @@ -200,5 +209,4 @@ endif
" * Markdown
" * HTML
" * LaTeX
" * Haskell
" * Others?