Skip to content

Commit fb3975e

Browse files
committed
Change flag name from "cli" to "external"
1 parent 129e584 commit fb3975e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

plugins/hls-fourmolu-plugin/src/Ide/Plugin/Fourmolu.hs

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,12 @@ descriptor plId =
4141
{ pluginHandlers = mkFormattingHandlers $ provider plId
4242
}
4343

44-
properties :: Properties '[ 'PropertyKey "cli" 'TBoolean]
44+
properties :: Properties '[ 'PropertyKey "external" 'TBoolean]
4545
properties =
4646
emptyProperties
4747
& defineBooleanProperty
4848
#cli
49-
"Call out to a \"fourmolu\" executable, rather than using the bundled library"
49+
"Call out to an external \"fourmolu\" executable, rather than using the bundled library"
5050
False
5151

5252
provider :: PluginId -> FormattingHandler IdeState

plugins/hls-fourmolu-plugin/test/Main.hs

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ tests =
3333
goldenWithFourmolu :: Bool -> TestName -> FilePath -> FilePath -> (TextDocumentIdentifier -> Session ()) -> TestTree
3434
goldenWithFourmolu cli title path desc = goldenWithHaskellDocFormatter fourmoluPlugin "fourmolu" conf title testDataDir path desc "hs"
3535
where
36-
conf = def{plcConfig = (\(Object obj) -> obj) $ object ["cli" .= cli]}
36+
conf = def{plcConfig = (\(Object obj) -> obj) $ object ["external" .= cli]}
3737

3838
testDataDir :: FilePath
3939
testDataDir = "test" </> "testdata"

0 commit comments

Comments
 (0)