Skip to content

Instantly share code, notes, and snippets.

@katsugeneration
Last active January 24, 2016 02:32
Show Gist options
  • Save katsugeneration/2b5b0e5cec658d8359b1 to your computer and use it in GitHub Desktop.
Save katsugeneration/2b5b0e5cec658d8359b1 to your computer and use it in GitHub Desktop.
ctags を Swift に対応させる ref: http://qiita.com/katsugeneration/items/afe776894996b381a268
--langdef=Swift
--langmap=Swift:+.swift
--regex-swift=/(var|let)[ \t]+([^:=]+).*$/\2/,variable/
--regex-swift=/func[ \t]+([^\(\)]+)\([^\(\)]*\)/\1/,function/
--regex-swift=/class[ \t]+([^:\{]+).*$/\1/,class/
--regex-swift=/protocol[ \t]+([^:\{]+).*$/\1/,protocol/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment