mirror of
https://github.com/haskell/haskell-language-server.git
synced 2024-09-19 20:57:21 +03:00
1edb4892a6
* overloaded record dot plugin initial version (closes #3350) * Added support to GHC 9.2, and updated documentation Also, update the CI to test overloaded-record-dot-plugin and added overloaded-record-dot-plugin to stack.yml * Apply suggestions from Lei Zhu (July541) Co-authored-by: Lei Zhu <julytreee@gmail.com> * Use GHC2021 and updated gif * Fix test.yml formatting problem * use coerce instead of unExt (from michaelpj) Co-authored-by: Michael Peyton Jones <me@michaelpj.com> * Implements michaelpj code review suggestions * Collect records on lists instead of maybe This way we don't need to switch back and forward between the two, and we can also return more than one match from inside a HsExpanded * Added documentation * Reworded comments for spelling and clarity * use useWithStale for the TypeCheck rule * Update version to conform with changes on master * No longer depend on specific hls package versions * Fixed comments and line length issues * Added test for HsExpanded expressions --------- Co-authored-by: Lei Zhu <julytreee@gmail.com> Co-authored-by: Michael Peyton Jones <me@michaelpj.com>
99 lines
2.5 KiB
YAML
99 lines
2.5 KiB
YAML
resolver: nightly-2022-08-15
|
|
|
|
packages:
|
|
- .
|
|
- ./hie-compat
|
|
- ./hls-graph
|
|
- ./ghcide/
|
|
- ./ghcide/test
|
|
- ./hls-plugin-api
|
|
- ./hls-test-utils
|
|
- ./shake-bench
|
|
- ./plugins/hls-cabal-plugin
|
|
- ./plugins/hls-cabal-fmt-plugin
|
|
- ./plugins/hls-call-hierarchy-plugin
|
|
- ./plugins/hls-class-plugin
|
|
# - ./plugins/hls-haddock-comments-plugin
|
|
- ./plugins/hls-eval-plugin
|
|
- ./plugins/hls-explicit-imports-plugin
|
|
- ./plugins/hls-qualify-imported-names-plugin
|
|
- ./plugins/hls-refine-imports-plugin
|
|
- ./plugins/hls-hlint-plugin
|
|
- ./plugins/hls-rename-plugin
|
|
# - ./plugins/hls-retrie-plugin
|
|
# - ./plugins/hls-splice-plugin
|
|
# - ./plugins/hls-tactics-plugin
|
|
- ./plugins/hls-stylish-haskell-plugin
|
|
- ./plugins/hls-floskell-plugin
|
|
- ./plugins/hls-fourmolu-plugin
|
|
- ./plugins/hls-pragmas-plugin
|
|
- ./plugins/hls-module-name-plugin
|
|
- ./plugins/hls-ormolu-plugin
|
|
- ./plugins/hls-alternate-number-format-plugin
|
|
- ./plugins/hls-code-range-plugin
|
|
- ./plugins/hls-change-type-signature-plugin
|
|
- ./plugins/hls-gadt-plugin
|
|
- ./plugins/hls-explicit-fixity-plugin
|
|
- ./plugins/hls-refactor-plugin
|
|
- ./plugins/hls-explicit-record-fields-plugin
|
|
- ./plugins/hls-overloaded-record-dot-plugin
|
|
|
|
extra-deps:
|
|
# needed for tests of hls-cabal-fmt-plugin
|
|
- cabal-fmt-0.1.6@sha256:54041d50c8148c32d1e0a67aef7edeebac50ae33571bef22312f6815908eac19,3626
|
|
- floskell-0.10.6@sha256:e77d194189e8540abe2ace2c7cb8efafc747ca35881a2fefcbd2d40a1292e036,3819
|
|
- hiedb-0.4.3.0
|
|
- implicit-hie-0.1.2.7@sha256:82bbbb1a8c05f99c8af3c16ac53e80c8648d8bf047b25ed5ce45a135bd736907,3122
|
|
- implicit-hie-cradle-0.5.0.0@sha256:4276f60f3a59bc22df03fd918f73bca9f777de9568f85e3a8be8bd7566234a59,2368
|
|
- monad-dijkstra-0.1.1.3@sha256:d2fc098d7c122555e726830a12ae0423ac187f89de9228f32e56e2f6fc2238e1,1900
|
|
- retrie-1.2.0.1
|
|
- co-log-core-0.3.1.0
|
|
- lsp-1.6.0.0
|
|
- lsp-types-1.6.0.0
|
|
- lsp-test-0.14.1.0
|
|
- hie-bios-0.12.0
|
|
|
|
# currently needed for ghcide>extra, etc.
|
|
allow-newer: true
|
|
|
|
ghc-options:
|
|
"$everything": -haddock
|
|
|
|
configure-options:
|
|
ghcide:
|
|
- --disable-library-for-ghci
|
|
haskell-language-server:
|
|
- --disable-library-for-ghci
|
|
heapsize:
|
|
- --disable-library-for-ghci
|
|
|
|
flags:
|
|
haskell-language-server:
|
|
pedantic: true
|
|
|
|
ignore-plugins-ghc-bounds: true
|
|
haddockComments: false
|
|
retrie: false
|
|
splice: false
|
|
tactic: false
|
|
|
|
retrie:
|
|
BuildExecutable: false
|
|
# Stack doesn't support automatic flags.
|
|
# Use ghc-lib force instead of ghc itself
|
|
ghc-lib-parser-ex:
|
|
auto: false
|
|
hlint:
|
|
ghc-lib: true
|
|
stylish-haskell:
|
|
ghc-lib: true
|
|
hyphenation:
|
|
embed: true
|
|
|
|
nix:
|
|
packages: [ icu libcxx zlib ]
|
|
|
|
concurrent-tests: false
|
|
|
|
system-ghc: true
|