nvim: Fix LC key bindings activation for Purescript

Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
Sanchayan Maity 2020-02-12 16:40:31 +05:30
parent ea87db710f
commit db2c2e0441

View file

@ -501,6 +501,9 @@ augroup LSP
au!
nnoremap <LocalLeader>cs :LanguageClientStart<CR>
nnoremap <LocalLeader>ch :LanguageClientStop<CR>
" Somehow the LanguageClientStarted event does not seem to fire or work
" in case of purescript so call to setup the bindings
au FileType purescript :call SetLspKeybindings()
autocmd User LanguageClientStarted :call SetLspKeybindings()
augroup END