Setting include causes keyword completion to take a very long time to finish. Keyword completion is triggered with Ctrl-P or Ctrl-N in insert mode. There doesn't appear to be any caching of files processed for keyword completion, so it basically becomes unusable when there are multiple imports in a PS file.
As a workaround, it is possible to disable keyword completion from included files with a line like the following:
It would be nice to add an option to disable setting
include
:https://github.com/purescript-contrib/purescript-vim/blob/67ca4dc4a0291e5d8c8da48bffc0f3d2c9739e7f/ftplugin/purescript.vim#L2-L3
Setting
include
causes keyword completion to take a very long time to finish. Keyword completion is triggered withCtrl-P
orCtrl-N
in insert mode. There doesn't appear to be any caching of files processed for keyword completion, so it basically becomes unusable when there are multiple imports in a PS file.As a workaround, it is possible to disable keyword completion from included files with a line like the following:
Here is the documentation for the
complete
option:http://vimdoc.sourceforge.net/htmldoc/options.html#'complete'