text: function reload() {
      nova.commands.invoke('tommasonegri.vue.commands.reload')
  }
  
  nova.config.onDidChange(
      'tommasonegri.vue.config.vetur.misc.useWorkspaceDependencies',
      reload
  )
  nova.workspace.config.onDidChange(
      'tommasonegri.vue.config.vetur.misc.useWorkspaceDependencies',
      reload
  )
  
  function getExtensionSetting() {
      return nova.config.get(
          'tommasonegri.vue.config.vetur.misc.useWorkspaceDependencies',
          'boolean'
      )
  }
  
  function getWorkspaceSetting() {
      const str = nova.workspace.config.get(
          'tommasonegri.vue.config.vetur.misc.useWorkspaceDependencies',
          'string'
      )
  
      switch (str) {
          case 'Global Default':
              return null
          case 'Enable':
              return true
          case 'Disable':
              return false
          default:
              return null
      }
  }
  
  export default function isMiscUseWorkspaceDependenciesEnabled() {
      const workspaceConfig = getWorkspaceSetting()
      const extensionConfig = getExtensionSetting()
  
      return workspaceConfig === null ? extensionConfig : workspaceConfig
  }
  