Skip to content
This repository has been archived by the owner on Nov 29, 2020. It is now read-only.

Is there an equivalence of ycm_extra_conf_globallist? #50

Closed
dragonxlwang opened this issue Mar 22, 2016 · 1 comment
Closed

Is there an equivalence of ycm_extra_conf_globallist? #50

dragonxlwang opened this issue Mar 22, 2016 · 1 comment

Comments

@dragonxlwang
Copy link
Contributor

Like this:

 let g:ycm_extra_conf_globlist = ['~/workspace/*','~/Dropbox/workspace/*']`

I can setup safe zones within which extra_conf automatically get loaded. How can I get it down in ycm-atom?

This has been previously discussed in @19 and I still haven't figure out how to disable confirmation dialog.

--- Update

So far I found that on the ycmd side, I can customize it by changing the "default_settings.json" file, which is called by handler.coffee:

  readDefaultOptions = new Promise (fulfill, reject) ->
    defaultOptionsFile = path.resolve atom.config.get('you-complete-me.ycmdPath'), 'ycmd', 'default_settings.json'
    fs.readFile defaultOptionsFile, encoding: 'utf8', (error, data) ->
      unless error?
        fulfill JSON.parse data
      else
        reject error

However, since my ycmd is also the vim's ycmd, I don't really want to make changes there (otherwise those change get wiped after PluginUpdate). It would be really better to expose some of those settings in atom as well...

Thanks,

@dragonxlwang dragonxlwang changed the title Is there an equivalence of ycm_extra_conf_globallist Is there an equivalence of ycm_extra_conf_globallist? And GoTo seems not working Mar 23, 2016
@dragonxlwang dragonxlwang changed the title Is there an equivalence of ycm_extra_conf_globallist? And GoTo seems not working Is there an equivalence of ycm_extra_conf_globallist? Mar 23, 2016
Qusic pushed a commit that referenced this issue Mar 23, 2016
@Qusic
Copy link
Owner

Qusic commented Mar 23, 2016

added in v0.7.2

@Qusic Qusic closed this as completed Mar 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants