marlonfan / coc-phpls

🐭 php language server for coc.nvim
MIT License
212 stars 16 forks source link

Reindex on new file creation #46

Open codeclem opened 4 years ago

codeclem commented 4 years ago

Describe the bug I'm not sure if this is a bug, configurable option, intended behavior, or a planned feature, but it seems like when a new php file is created you have to close and reopen vim in order to get it indexed. Is there a way to autoindex new files, or at least force a reindex with a command?

marlonfan commented 4 years ago

call :CocCommand intelephense.index.workspace

codeclem commented 4 years ago

Thanks. Do you plan on adding support for autoindexing new files?

marlonfan commented 4 years ago

Yes, it's in the plan