Skip to content

Commit 67ddf23

Browse files
committed
Fix MetaBegin
1 parent a208dda commit 67ddf23

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

plugins/hls-tactics-plugin/src/Wingman/AbstractLSP.hs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import Language.LSP.Types hiding (CodeLens, CodeAction)
2929
import Wingman.AbstractLSP.Types
3030
import Wingman.EmptyCase (fromMaybeT)
3131
import Wingman.LanguageServer (getTacticConfig, getIdeDynflags, mkWorkspaceEdits, runStaleIde, showLspMessage, mkShowMessageParams)
32+
import Wingman.StaticPlugin (enableQuasiQuotes)
3233
import Wingman.Types
3334

3435

@@ -109,7 +110,7 @@ runContinuation plId cont state (fc, b) = do
109110
GraftEdit gr -> do
110111
ccs <- lift getClientCapabilities
111112
TrackedStale pm _ <- mapMaybeT liftIO $ stale GetAnnotatedParsedSource
112-
case mkWorkspaceEdits le_dflags ccs (fc_uri le_fileContext) (unTrack pm) gr of
113+
case mkWorkspaceEdits (enableQuasiQuotes le_dflags) ccs (fc_uri le_fileContext) (unTrack pm) gr of
113114
Left errs ->
114115
pure $ Just $ ResponseError
115116
{ _code = InternalError

plugins/hls-tactics-plugin/src/Wingman/StaticPlugin.hs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
module Wingman.StaticPlugin
44
( staticPlugin
55
, metaprogramHoleName
6+
, enableQuasiQuotes
67
, pattern WingmanMetaprogram
78
, pattern MetaprogramSyntax
89
) where

0 commit comments

Comments
 (0)