Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't figure out where to put nvim-hs config #4

Open
milvi opened this issue Jan 8, 2021 · 1 comment
Open

Can't figure out where to put nvim-hs config #4

milvi opened this issue Jan 8, 2021 · 1 comment

Comments

@milvi
Copy link

milvi commented Jan 8, 2021

Hello !

I am attempting to set up my environment ( haskell beginner ) however even after browsing nvimhs.vim I can't figure out where to put the so called config file

import Neovim

import qualified Neovim.Ghcid as Ghcid

main :: IO ()
main = neovim defaultConfig
    { plugins = defaultPlugins defaultConfig ++ [ Ghcid.plugin ]
    }

Can you be very explicit about where this goes ? It is definitely not trivial for a newbie ! thx

@saep
Copy link
Owner

saep commented Jan 9, 2021

If you really want to use this to set up a haskell environment. Instann stack and put this in your neovimrc. (Adjust to your plugin manager if you're not using vim-plug):

Plug 'neovimhaskell/nvim-hs.vim'
Plug 'saep/nvim-hs-ghcid'

Not that your next startup of neovim will take a while as it blocks on the compilation.
I've also switched to emacs over a year ago, so I don't know if this plugin still compiles.

Anyhow, I recommend using https://github.com/haskell/haskell-language-server for a haskell setup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants