diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1551958630..400ad0c3df 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -159,7 +159,7 @@ jobs: name: Test hls-splice-plugin run: cabal test hls-splice-plugin --test-options="$TEST_OPTS" || cabal test hls-splice-plugin --test-options="$TEST_OPTS" - - if: matrix.test && matrix.ghc != '9.2' && !startsWith(matrix.ghc,'9.8') + - if: matrix.test && matrix.ghc != '9.2' name: Test hls-stan-plugin run: cabal test hls-stan-plugin --test-options="$TEST_OPTS" || cabal test hls-stan-plugin --test-options="$TEST_OPTS" diff --git a/docs/support/plugin-support.md b/docs/support/plugin-support.md index f79c59e30e..42118574fb 100644 --- a/docs/support/plugin-support.md +++ b/docs/support/plugin-support.md @@ -62,6 +62,6 @@ For example, a plugin to provide a formatter which has itself been abandoned has | `hls-stylish-haskell-plugin` | 2 | 9.8 | | `hls-overloaded-record-dot-plugin` | 2 | 9.0 | | `hls-floskell-plugin` | 3 | 9.6, 9.8 | -| `hls-stan-plugin` | 3 | 9.2.(4-8), 9.8 | +| `hls-stan-plugin` | 3 | 9.2.(4-8) | | `hls-retrie-plugin` | 3 | 9.8 | | `hls-splice-plugin` | 3 | 9.8 | diff --git a/haskell-language-server.cabal b/haskell-language-server.cabal index 1215e3357d..c925b91691 100644 --- a/haskell-language-server.cabal +++ b/haskell-language-server.cabal @@ -247,7 +247,7 @@ common hlint cpp-options: -Dhls_hlint common stan - if flag(stan) && (impl(ghc > 8.8.1) && impl(ghc <= 9.2.3) || impl(ghc >= 9.4.0) && impl(ghc < 9.8.0)) + if flag(stan) && (impl(ghc > 8.8.1) && impl(ghc <= 9.2.3) || impl(ghc >= 9.4.0) && impl(ghc < 9.10.0)) build-depends: hls-stan-plugin == 2.4.0.0 cpp-options: -Dhls_stan diff --git a/plugins/hls-stan-plugin/hls-stan-plugin.cabal b/plugins/hls-stan-plugin/hls-stan-plugin.cabal index bd38ea5fbc..51574b257e 100644 --- a/plugins/hls-stan-plugin/hls-stan-plugin.cabal +++ b/plugins/hls-stan-plugin/hls-stan-plugin.cabal @@ -26,7 +26,7 @@ flag pedantic manual: True library - if (impl(ghc > 8.8.1) && impl(ghc <= 9.2.3) || impl(ghc >= 9.4.0) && impl(ghc < 9.8.0)) + if (impl(ghc > 8.8.1) && impl(ghc <= 9.2.3) || impl(ghc >= 9.4.0) && impl(ghc < 9.10.0)) buildable: True else buildable: False @@ -59,7 +59,7 @@ library OverloadedStrings test-suite test - if (impl(ghc > 8.8.1) && impl(ghc <= 9.2.3) || impl(ghc >= 9.4.0) && impl(ghc < 9.8.0)) + if (impl(ghc > 8.8.1) && impl(ghc <= 9.2.3) || impl(ghc >= 9.4.0) && impl(ghc < 9.10.0)) buildable: True else buildable: False