Skip to content

Commit

Permalink
remove meson ctags, as built-in one works fine, and add to gitignore
Browse files Browse the repository at this point in the history
  • Loading branch information
StarWitch committed Nov 5, 2021
1 parent 27feec4 commit 9b3ff95
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ build/
winbuild/
osxbuild/
.ctagsdb
tags
.*DS_Store
__pycache__
*.out
Expand Down
6 changes: 3 additions & 3 deletions doc/DEVELOPMENT.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------
Expand Down
4 changes: 0 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 9b3ff95

Please sign in to comment.