nvim: Fix LC key bindings activation for Purescript
Signed-off-by: Sanchayan Maity <maitysanchayan@gmail.com>
This commit is contained in:
parent
ea87db710f
commit
db2c2e0441
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue