Created
January 17, 2018 16:02
-
-
Save hoop33/b0a33cf8fdcf4d64689f58efed75c15e to your computer and use it in GitHub Desktop.
.ctags entries for GraphQL
Added --regex-graphql=/^[ \t]*union[ \t]+([_A-Za-z][_0-9A-Za-z]*)/\1/u,union/ to tag unions.
I added
--regex-graphql=/^[ \t]*interface[ \t]+([_A-Za-z][_0-9A-Za-z]*)/\1/i,interface/to also tag interfaces
I'm seeing a ctags warning Don't reuse the kind letter i' in a language graphql, so I put .../n,interface/to avoid clashing with.../i,input/`.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I added
--regex-graphql=/^[ \t]*interface[ \t]+([_A-Za-z][_0-9A-Za-z]*)/\1/i,interface/to also tag interfaces