Пример #1
0
def FindTagCallersByPattern(pattern):
    # Find a tag caller using regexp

    filetype = GetFiletype()
    return SoftenServerErrors(
        lambda: gtags.find_matching_tags(filetype, pattern, 1, 0, 'vi',
                                         vim.eval('g:google_tags_corpus'), vim.
                                         current.buffer.name), [])
Пример #2
0
def FindTagByPattern(pattern):
    # Find a tag using regexp
    UpdateConnectionSettings()
    filetype = GetFiletype()
    return SoftenServerErrors(
        lambda: gtags.find_matching_tags(filetype, pattern, 0, 0, 'vi',
                                         vim.eval('g:google_tags_corpus'), vim.
                                         current.buffer.name), [])
Пример #3
0
def FindTagCallersByPattern(pattern):
  # Find a tag caller using regexp

  filetype = GetFiletype()
  return SoftenServerErrors(lambda: gtags.find_matching_tags(filetype,
                                                             pattern,
                                                             1,
                                                             0,
                                                             'vi',
                                                             vim.eval('g:google_tags_corpus'),
                                                             vim.current.buffer.name),
                            [])
Пример #4
0
def FindTagByPattern(pattern):
  # Find a tag using regexp
  UpdateConnectionSettings()
  filetype = GetFiletype()
  return SoftenServerErrors(lambda: gtags.find_matching_tags(filetype,
                                                             pattern,
                                                             0,
                                                             0,
                                                             'vi',
                                                             vim.eval('g:google_tags_corpus'),
                                                             vim.current.buffer.name),
                            [])