dotfiles/nvim/coc-languages/haskell.vim
2020-01-06 16:16:24 +02:00

8 lines
299 B
VimL

let s:filetypes = ['haskell', 'lhaskell', 'chaskell']
let g:coc_filetypes += s:filetypes
let g:coc_user_config['languageserver.haskell'] = {
\ 'filetypes': s:filetypes,
\ 'command': 'hie-wrapper',
\ 'rootPatterns': ['.stack.yaml', 'cabal.config', 'package.yaml'],
\ 'initializationOptions': {},
\ }