( extra_conf_vim_data )
| 1006 | |
| 1007 | def _AddExtraConfDataIfNeeded( self, extra_data ): |
| 1008 | def BuildExtraConfData( extra_conf_vim_data ): |
| 1009 | extra_conf_data = {} |
| 1010 | for expr in extra_conf_vim_data: |
| 1011 | try: |
| 1012 | extra_conf_data[ expr ] = vimsupport.VimExpressionToPythonType( expr ) |
| 1013 | except vim.error: |
| 1014 | message = ( |
| 1015 | f"Error evaluating '{ expr }' in the 'g:ycm_extra_conf_vim_data' " |
| 1016 | "option." ) |
| 1017 | vimsupport.PostVimMessage( message, truncate = True ) |
| 1018 | self._logger.exception( message ) |
| 1019 | return extra_conf_data |
| 1020 | |
| 1021 | extra_conf_vim_data = self._user_options[ 'extra_conf_vim_data' ] |
| 1022 | if extra_conf_vim_data: |
nothing calls this directly
no outgoing calls
no test coverage detected