We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b61a10a commit 324c427Copy full SHA for 324c427
lua/haskell-snippets/pragmas.lua
@@ -42,7 +42,16 @@ pragmas.prag = s({
42
}),
43
sn(nil, {
44
text('OPTIONS_GHC '),
45
- insert(1),
+ choice(1, {
46
+ insert(1),
47
+ sn(nil, {
48
+ text('-Wno-'),
49
50
51
+ text('deprecations'),
52
+ }),
53
54
55
text(' #-}'),
56
57
@@ -126,6 +135,7 @@ pragmas.nowarn = s({
126
135
}, {
127
136
text('{-# OPTIONS_GHC -fno-warn-'),
128
137
choice(1, {
138
129
139
text('orphans'),
130
140
text('unused-binds'),
131
141
text('unused-matches'),
0 commit comments