ctags doesn't use my custom .ctags on Mac OS -


i'm trying use exuberant ctags on mac os. i've installed exuberant ctags homebrew. here version :

$ ctags --version exuberant ctags 5.8, copyright (c) 1996-2009 darren hiebert 

it seems custom $home/.ctags not taken account.

here config :

$ cat ~/.ctags --verbose=no --recurse=yes --tag-relative=yes --langdef=scala --langmap=scala:.scala --regex-scala=/^\s*class\s*([a-za-z0-9_]+)/\1/c,classes/ … 

when launch ctags -r, no tags generated .scala files.

when test --options

$ctags -r --options=/users/yamo/.ctags ctags: cannot open option file "/users/yamo/.ctags" : no such file or directory  $ll ~/.ctags lrwxr-xr-x  1 yamo  staff  36 apr 13 21:29 /users/yamo/.ctags@ -> /users/yamo/projects/dotfiles/.ctags 

the issue due bsd regex.

i've solved editing ~/.ctags in vim :%s/\\s/[ \\t]/g


Comments

Popular posts from this blog

windows - Single EXE to Install Python Standalone Executable for Easy Distribution -

c# - Access objects in UserControl from MainWindow in WPF -

javascript - How to name a jQuery function to make a browser's back button work? -