mattn / mattn/vim-lsp-settings

Haskell-ide-engine is not found automatically

Open
#309 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Vim Script
Stars
1.4k
Forks
245
Avg merge
3m
Merged PRs (30d)
1

Description

The title is pretty self-explanatory... here are some details:

I have installed haskell-ide-engine from source using the suggested guide. Since my computer couldn't stand a full installation (regaurding mutliple ghc versions), I only installed it [haskell-ide-engine] along with the ghc version that stack was using globally (8.8.3).

My PATH variable contains /home/dincio/.local/bin/ (dincio is my username), where my hie (haskell-ide-engine) executable lies, and the hie command is recognized on every terminal I open. I set this in my ~/.bash_profile.

Running the vim command :if executable("hie") echo "hello" end prints "hello" to the screen, so vim is also aware of the hie executable.

All that said, running LspStatus when opening an haskell file still yields nothing, and no lsp features seem to work either.

Thanks in advacne for any help.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with a Haskell file and the reported :LspStatus command, then compare Vim's executable("hie") result with the language-server configuration. Check the ~/.bash_profile PATH setup and the Haskell configuration entry; the issue is done when HIE starts automatically and LSP features work.

Written by the indexing model from the issue text.

Assessment

Tech stack
haskell, vim
Domain
tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.