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

Add tags completion support #72

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

zhaocai
Copy link

@zhaocai zhaocai commented Sep 15, 2016

Refer to #71

To support custom filetype like autohotkey, the LANG_TO_FILETYPE map inside ycmd\cpp\ycm\IdentifierUtils.cpp
needs to be patched.

// List of languages Exuberant Ctags supports:
//   ctags --list-languages
// To map a language name to a filetype, see this file:
//   :e $VIMRUNTIME/filetype.vim
// This is a map of const char* and not std::string to prevent issues with
// static initialization.
const boost::unordered_map < const char *,
      const char *,
      boost::hash< std::string >,
      StringEqualityComparer > LANG_TO_FILETYPE =
        boost::assign::map_list_of
        ( "Ant"        , "ant"        )
        ( "Asm"        , "asm"        )
        ( "Awk"        , "awk"        )
        ( "autohotkey" , "autohotkey" )

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant