ctags: skipping ***: it is not a regular file.

最近在学习用vim,再利用ctags 创建tags 的时候出现问题shell

ctags -R .vim

ctags: skipping ***: it is not a regular file.学习

 

相似这个问题可能你运行的ctags 不是  Exuberant Ctags, 而是 GNU Emacsetagscode

输入regexp

ctags --version ip

 

ctags (GNU Emacs 23.1)
Copyright (C) 2009 Free Software Foundation, Inc.
This program is distributed under the terms in ETAGS.README

 

man ctags能够看到rem

-R, --no-regex
          Don't  do  any more regexp matching on the following files.  May
          be freely intermixed with filenames and the --regex option.

You could probably generate the tags recursively using shell magic, but you may run into problems down the road if you're expecting Exuberant Ctags. So the best solution is probably to install the ctags you want instead:get

sudo apt-get install exuberant-ctags

另外一种多是it

 

It occurs if you have elvis-tools installed . remove them with something likeio

sudo apt-get remove elvis-tools

and then install exuberant-ctags by

sudo apt-get install exuberant-ctags
相关文章
相关标签/搜索