File tree 2 files changed +11
-0
lines changed
2 files changed +11
-0
lines changed Original file line number Diff line number Diff line change 1
1
au BufRead ,BufNewFile *.hsc set filetype = haskell
2
+ au BufRead ,BufNewFile *.bpk set filetype = haskell
3
+ au BufRead ,BufNewFile *.hsig set filetype = haskell
Original file line number Diff line number Diff line change @@ -15,6 +15,11 @@ if !exists('g:haskell_disable_TH')
15
15
let g: haskell_disable_TH = 0
16
16
endif
17
17
18
+ if exists (' g:haskell_backpack' ) && g: haskell_backpack == 1
19
+ syn keyword haskellBackpackStructure unit signature
20
+ syn keyword haskellBackpackDependency dependency
21
+ endif
22
+
18
23
syn spell notoplevel
19
24
syn match haskellRecordField contained containedin =haskellBlock
20
25
\ " [_a-z][a-zA-Z0-9_']*\( ,\s *[_a-z][a-zA-Z0-9_']*\) *\(\s *::\| \n \s\+ ::\) "
194
199
endif
195
200
endif
196
201
202
+ if exists (' g:haskell_backpack' ) && g: haskell_backpack == 1
203
+ highlight def link haskellBackpackStructure Structure
204
+ highlight def link haskellBackpackDependency Include
205
+ endif
197
206
let b: current_syntax = " haskell"
You can’t perform that action at this time.
0 commit comments