From 9b3ff95e54fb657a543c7e0df60ccd0e7f956954 Mon Sep 17 00:00:00 2001 From: Alice D Date: Fri, 5 Nov 2021 19:07:53 -0400 Subject: [PATCH] remove meson ctags, as built-in one works fine, and add to gitignore --- .gitignore | 1 + doc/DEVELOPMENT.rst | 6 +++--- meson.build | 4 ---- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/.gitignore b/.gitignore index c7c1f03304..de1454d07d 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ build/ winbuild/ osxbuild/ .ctagsdb +tags .*DS_Store __pycache__ *.out diff --git a/doc/DEVELOPMENT.rst b/doc/DEVELOPMENT.rst index 47d27e444b..83c97b51b1 100644 --- a/doc/DEVELOPMENT.rst +++ b/doc/DEVELOPMENT.rst @@ -56,20 +56,20 @@ In general, things like ``for`` loops should have no spaces between the ``for`` ``ctags`` Support ''''''''''''''''' -A ``.ctagsdb`` file can assist certain code editors (like ``vim``) with jump-to-definition support and other useful features. To generate a ``taisei/.ctagsdb`` file. +A ``tags`` file can assist certain code editors (like ``vim``) with jump-to-definition support and other useful features. To generate a ``taisei/tags`` file. .. code:: sh ninja ctags -C build/ -You then have to let your editor know that a ``.ctagsdb`` file exists. +You then have to let your editor know that a ``tags`` file exists. Using ``.vimrc`` as an example: .. code:: sh # this will walk the project directory until it finds a .ctagsdb file - set tags=.ctagsdb; + set tags=tags; Compiling Issues ---------------- diff --git a/meson.build b/meson.build index d1858e16f3..a7e536aca5 100644 --- a/meson.build +++ b/meson.build @@ -518,10 +518,6 @@ foreach bindist_target : bindist_targets ) endforeach -run_target('ctags', - command : ['ctags', '-R', '--exclude=.git', '-f', '.ctagsdb', join_paths(meson.source_root(), 'src')] -) - summary = ''' Summary: