-
-
Notifications
You must be signed in to change notification settings - Fork 401
Closed
Labels
build tool: cabalbuild tool: stacktype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..
Description
Your environment
Arch Linux
Cabal
Neovim (lsp-config)
Steps to reproduce
- Create new project
- Change build-type to Custom
build-type: Custom
custom-setup
setup-depends:
base,
Cabal
- Create a Setup.hs file and build
- Open Setup.hs
Expected behaviour
hls works seamlessly on Setup.hs
Actual behaviour
hls output this error
Multi Cradle: No prefixes matched
pwd: /home/cha0s/testing
filepath: /home/cha0s/testing/Setup.hs
prefixes:
("app/Main.hs",Cabal {component = Just "testing:exe:testing"})
Debug information
I found this reddit post describing something similar but Stack is used instead.
The custom build script Setup.hs is the only file affected, the other seems to work fine.
Metadata
Metadata
Assignees
Labels
build tool: cabalbuild tool: stacktype: bugSomething isn't right: doesn't work as intended, documentation is missing/outdated, etc..Something isn't right: doesn't work as intended, documentation is missing/outdated, etc..