Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgedmin/taghelper.vim
vim plugin that shows the current function/tag in the statusline
https://github.com/mgedmin/taghelper.vim
Last synced: about 2 months ago
JSON representation
vim plugin that shows the current function/tag in the statusline
- Host: GitHub
- URL: https://github.com/mgedmin/taghelper.vim
- Owner: mgedmin
- Created: 2019-08-07T13:44:29.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-10T12:58:07.000Z (3 months ago)
- Last Synced: 2024-10-13T18:27:47.036Z (2 months ago)
- Language: Python
- Size: 96.7 KB
- Stars: 7
- Watchers: 3
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
Overview
--------.. image:: https://github.com/mgedmin/taghelper.vim/workflows/build/badge.svg?branch=master
:target: https://github.com/mgedmin/taghelper.vim/actionsVim plugin to show the name of the current tag (usually function) in the status
line... image:: doc/screenshot.png
:width: 734
:height: 475
:alt: screenshotInspired by Michal Vitecek's pythonhelper.vim_ and my chelper.vim_. Intended
to replace both of them.Needs Vim 8.0.0251 or newer, built with Python support.
Supports multiple languages:
- Python
- C
- C++
- diff files
- .ini files
- Robot Framework test files
Vim help filesDoesn't actually use tags files -- instead it has its own hacky parsers.
.. _pythonhelper.vim: https://www.vim.org/scripts/script.php?script_id=435
.. _chelper.vim: https://github.com/mgedmin/chelper.vimInstallation
------------I suggest you use a plugin manager like vim-plug_::
Plug 'mgedmin/taghelper.vim'
.. _vim-plug: https://github.com/junegunn/vim-plug
Configuration
-------------Add ``%{taghelper#curtag()}`` to your 'statusline', e.g. ::
set statusline=%<%f\ %h%m%r\ %1*%{taghelper#curtag()}%*%=%-14.(%l,%c%V%)\ %P
Debugging
---------``:call taghelper#showtags()`` will print all the tags detected in a source
file. If you find that some code is parsed incorrectly (my parser is really
simple!), please file a bug on GitHub.Copyright
---------``taghelper.vim`` was written by Marius Gedminas .
Licence: MIT.