dotfiles/nvim/coc-languages/haskell.vim

9 lines
299 B
VimL
Raw Normal View History

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': {},
\ }