Skip to content

Commit

Permalink
Disable alternate numbers format plugin temporary (#2498)
Browse files Browse the repository at this point in the history
* Disable alternateNumberFormat temporary

* Disable alternateNumberFormat tests

* Add a warn in docs

* Add link to issue in docs

Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
2 people authored and pepeiborra committed Dec 19, 2021
1 parent 4876e69 commit de6e85b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Expand Up @@ -244,7 +244,7 @@ jobs:
name: Test hls-hlint-plugin test suite
run: cabal test hls-hlint-plugin --test-options="$TEST_OPTS" || cabal test hls-hlint-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-hlint-plugin --test-options="$TEST_OPTS"

- if: matrix.test
- if: matrix.test && false
name: Test hls-alternate-number-format-plugin test suite
run: cabal test hls-alternate-number-format-plugin --test-options="$TEST_OPTS" || cabal test hls-alternate-number-format-plugin --test-options="$TEST_OPTS" || LSP_TEST_LOG_COLOR=0 LSP_TEST_LOG_MESSAGES=true LSP_TEST_LOG_STDERR=true cabal test hls-alternate-number-format-plugin --test-options="$TEST_OPTS"

Expand Down
2 changes: 1 addition & 1 deletion docs/features.md
Expand Up @@ -17,7 +17,7 @@ You can watch demos for some of these features [below](#demos).
- [Module name suggestions](#module-names) for insertion or correction
- [Call hierarchy support](#call-hierarchy)
- [Qualify names from an import declaration](#qualify-imported-names) in your code
- [Suggest alternate numeric formats](#alternate-number-formatting)
- [Suggest alternate numeric formats](#alternate-number-formatting). This plugin is not included by default yet due to a performance issue, see <https://github.com/haskell/haskell-language-server/issues/2490>

## Demos

Expand Down
2 changes: 1 addition & 1 deletion haskell-language-server.cabal
Expand Up @@ -165,7 +165,7 @@ flag splice

flag alternateNumberFormat
description: Enable Alternate Number Format plugin
default: True
default: False
manual: True

flag qualifyImportedNames
Expand Down

0 comments on commit de6e85b

Please sign in to comment.