Skip to content

Commit 27eda08

Browse files
committed
schema update
1 parent fb7cb40 commit 27eda08

File tree

7 files changed

+28
-1
lines changed

7 files changed

+28
-1
lines changed

plugins/hls-cabal-plugin/src/Ide/Plugin/Cabal/CabalAdd.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ getDependencyEdit recorder env cabalFilePath buildTarget dependency = do
236236
pure edit
237237

238238
-- | Given a path to a haskell file, returns the closest cabal file.
239-
-- If cabal file wasn't found, dives Nothing.
239+
-- If cabal file wasn't found, gives Nothing.
240240
findResponsibleCabalFile :: FilePath -> IO (Maybe FilePath)
241241
findResponsibleCabalFile haskellFilePath = do
242242
let dirPath = dropFileName haskellFilePath

test/testdata/schema/ghc94/default-config.golden.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"path": "cabal-gild"
2525
}
2626
},
27+
"cabaladd": {
28+
"globalOn": true
29+
},
2730
"callHierarchy": {
2831
"globalOn": true
2932
},

test/testdata/schema/ghc94/vscode-extension-schema.golden.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
"scope": "resource",
4242
"type": "boolean"
4343
},
44+
"haskell.plugin.cabaladd.globalOn": {
45+
"default": true,
46+
"description": "Enables cabaladd plugin",
47+
"scope": "resource",
48+
"type": "boolean"
49+
},
4450
"haskell.plugin.callHierarchy.globalOn": {
4551
"default": true,
4652
"description": "Enables callHierarchy plugin",

test/testdata/schema/ghc96/default-config.golden.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"path": "cabal-gild"
2525
}
2626
},
27+
"cabaladd": {
28+
"globalOn": true
29+
},
2730
"callHierarchy": {
2831
"globalOn": true
2932
},

test/testdata/schema/ghc96/vscode-extension-schema.golden.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
"scope": "resource",
4242
"type": "boolean"
4343
},
44+
"haskell.plugin.cabaladd.globalOn": {
45+
"default": true,
46+
"description": "Enables cabaladd plugin",
47+
"scope": "resource",
48+
"type": "boolean"
49+
},
4450
"haskell.plugin.callHierarchy.globalOn": {
4551
"default": true,
4652
"description": "Enables callHierarchy plugin",

test/testdata/schema/ghc98/default-config.golden.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"path": "cabal-gild"
2525
}
2626
},
27+
"cabaladd": {
28+
"globalOn": true
29+
},
2730
"callHierarchy": {
2831
"globalOn": true
2932
},

test/testdata/schema/ghc98/vscode-extension-schema.golden.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,12 @@
4141
"scope": "resource",
4242
"type": "boolean"
4343
},
44+
"haskell.plugin.cabaladd.globalOn": {
45+
"default": true,
46+
"description": "Enables cabaladd plugin",
47+
"scope": "resource",
48+
"type": "boolean"
49+
},
4450
"haskell.plugin.callHierarchy.globalOn": {
4551
"default": true,
4652
"description": "Enables callHierarchy plugin",

0 commit comments

Comments
 (0)