Commit Graph

50 Commits

Author SHA1 Message Date
John Bintz e8e00799ac safer way to access filetype 2012-05-31 11:05:39 -04:00
Kirill Klenov d1ac211f70 Merge https://github.com/jnwhiteh/taglist.vim into fix 2011-09-27 16:32:23 +04:00
Kirill Klenov 2c54d67cee Merge https://github.com/K-Phoen/vim-taglist-plus into fix 2011-09-27 16:30:53 +04:00
Kirill Klenov 559420c126 Merge https://github.com/jameycribbs/vim-taglist-plus into fix 2011-09-27 16:29:56 +04:00
Jamey Cribbs 62fdff9dea fix for missing auto-width var when window width is explicitly set in .vimrc 2011-09-23 11:15:09 -04:00
Kirill Klenov 349c9f8098 Use Allowed_Flags for any languages 2011-09-22 20:08:29 +04:00
James Whitehead II 086fd975c1 Add support for Go 2011-07-08 12:33:41 +01:00
kphoen ed1c46ad4a Chg: updated README.md for the new filetypes behavior
modified:   README.md
2011-06-27 21:20:24 +02:00
kphoen 708dab5f9a Fix: patched to handle composed filetypes (ex: when using php.symfony filetype,
Taglist will search for the php tags file)

	modified:   plugin/taglist-plus.vim
2011-06-27 21:19:43 +02:00
jez fc9f1c8437 Fix Hide_Extras bug. 2011-03-18 03:06:13 -04:00
jez f0ab56514e Ensure s:auto_width exists. 2011-03-18 02:50:52 -04:00
jez 423b8ea449 Add 'tags' to .gitignore. 2011-03-17 17:18:48 -04:00
jez 550687ca4c Switch from 'Show_Extras' to 'Hide_Extras' 2011-03-17 17:11:00 -04:00
jez 3733440ed0 Update README again. 2011-03-16 21:48:51 -04:00
jez cdda2b6d18 More updates to README. 2011-03-16 18:46:31 -04:00
jez a445af5bf4 Update README, docs, and comments. Rename files. 2011-03-16 16:53:52 -04:00
jez ea0296a7e4 Fix auto-resizing. 2011-03-16 15:18:50 -04:00
jez 378746b85c Add documentation on new features. 2011-03-16 06:46:59 -04:00
jez 01fa44ae6d Add sort option for jsctags. 2011-03-15 14:47:13 -04:00
jez c5344cfbdb Reposition cursor when toggling extradata. 2011-03-12 03:24:23 -05:00
jez 852777a0a4 Fix tag line number extraction. 2011-03-12 03:20:03 -05:00
jez 38e99ef72c Factor out scope string generation. 2011-03-12 01:11:02 -05:00
jez ae3ac4a471 Add mapping to toggle type data.
If Tlist_WinWidth="auto", the split will be resized automatically to
show the additional data.
2011-03-12 01:04:00 -05:00
jez c83520ef46 Add auto-width option. 2011-03-12 00:27:25 -05:00
jez ad67a3fcc6 Make extradata highlighting more robust.
Nested square brackets are now handled correctly.
2011-03-12 00:27:25 -05:00
jez 0ed5bf7841 Display & manage the extra data jsctags provides. 2011-03-12 00:27:23 -05:00
jez 7ab251e524 More robust parsing of tag scope. For jsctags. 2011-03-11 14:55:40 -05:00
jez 4844db20ad Adapt to jsctag's output. 2011-03-11 14:33:54 -05:00
jez 26580bed57 Fix for focus handling when the taglist window gets closed.
Give focus back to previously-focused window when taglist window gets
closed while having focus.
2011-01-17 00:59:20 +08:00
jez f0e236c1d5 Use `Tlist_Exe_Cmd_No_Acmds` instead of `exe` 2011-01-16 16:45:18 +08:00
jez 9ca31e5053 Fix window focusing 2011-01-16 16:31:05 +08:00
Yegappan Lakshmanan 53041fbc45 Version 4.5
Fix an extra space in the check for exctags. Refresh the taglist window
folds after entering a tab. Escape special characters like backslash in
the tag name when saving a session file. Add an internal function to get
and detect file types.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan b892dfe62b Version 4.4
The following fixes are made in this release:
1. If multiple Vim plugins register for the BufEnter autocmd, then sometimes
    the buffer name supplied to the autocmd is incorrect. Use the buffer number
    instead of buffer name in the BufEnter autocmd.
2. Add the filename to the tags menu only for valid file names.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan d6a611f70a Version 4.3
1. Added support for jumping to a tag/file in a new or existing tab
   from the taglist window (works only with Vim7 and above).
2. Added support for opening a tag in the previous window.
3. With the Tlist_File_Fold_Auto_Close variable set, when opening a
   file from the file explorer window, the folds in the taglist window
   are not closed correctly.  Fixed this problem.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 569d438e14 Version 4.2
1. After opening a file with no tags defined in it with the
   Tlist_Compact_Format option set, if the tags are updated, the folds
   used for the files following the empty tags file are affected.
2. On MS-Windows, use a "taglist.cmd" temporary file to run exuberant
   ctags. This is to handle space characters in the file names and
   in the exuberant ctags path name.
3. In the taglist window, when a file is re-sorted or updated open the
   fold for the file.
4. When the 'shellxquote' option is set to double quotes, escape
   double quotes in the command executed for exuberant ctags.
5. On FreeBSD, exuberant ctags is installed as exctags, look for
   exctags in the PATH.
6. If two taglist plugins are present (one in the system Vim directory
   and another in the user's .vim/plugin directory), then the plugin
   in the users's .vim directory overrides the version in the system
   vim directory.
7. When the :TlistMessages command is issued display the debug
   messages in a taglist.txt buffer.
8. Clear the readonly option for the taglist buffer
9. When opening a selected file, don't use the preview window, if
   present.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 56fac4dbda Version 4.1
When the Tlist_File_Fold_Auto_Close variable is set to 1, jumping to the taglist window closes all the folds. Modified the plugin to not close the fold for the currently active file. When the TlistLock and TlistUnlock commands are invoked, an error message is displayed. This problem is fixed.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 8520cb9123 Version 4.0
Fixes:
Fix the problems in using the taglist plugin with Vim7 tabs. When
Tlist_File_Fold_Auto_Close is set, close the tag fold when leaving a
buffer.  When jumping to a selected tag, if the file is opened in more
than one window, use the previous window from which the user entered
the taglist window.
New features:
Support for displaying the tag prototype as a tooltip.  Support for
specifying additional commands after the taglist commands using the
bar separator.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan fb0331463a Version 4.0b4
Fixes:
1. When 'Tlist_Show_One_File' is set, after few files are opened,
   unable to select tags from the taglist window.
2. When the taglist plugin is stored in a directory with space characters
   in the name, the autoloading of taglist plugin fails.
New features:
1. Support for moving cursor to the taglist window when using the
   ":TlistToggle" command.
2. When all the tags in a file are of the same type, in the taglist
   menu, don't display the tag type.
3. Changed the '?' help key to 'F1' in the taglist window.
4. Set the filetype for the taglist buffer to 'taglist'
5. In Vim7, set the 'winfixwidth' option for the taglist window.
6. When jumping between files using the ]] or <Tab> and [[ or <Backspace>
   keys, wrap around at the first and last file.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 4d4da98fae Version 4.0b3
The following changes are made in this version:

1. Delay loading of the taglist plugin to reduce the Vim startup time.
2. Support for recursively adding multiples files to the taglist using the
   ':TlistAddFilesRecursive' command.
3. New ':TlistOpen' command to open and jump to the taglist window.
4. New ':TlistToggle' command to supersede the ':Tlist' command.
5. New 'Tlist_Close_On_Select' option for closing the taglist window
   when a file is selected.
6. New 'Tlist_Auto_Update' option to enable/disable processing of newly
   edited files.
7. New ':TlistLock' and ':TlistUnlock' commands to lock and unlock the
   taglist.
8. New 'Tlist_Highlight_Tag_On_BufEnter' option to enable/disable
   highlighting of the current tag on entering a buffer.
9. When the taglist buffer is created from a Vim session file, update
   the taglist with the files from the session file.
10. Change the background color used for highlighting file names in the
    taglist window.
11. When <Space> is pressed on a file name or a tag type name in the
    taglist window, display information about the number of tags.
12. Set the 'foldlevel' option to a high value in the taglist window.
13. When refreshing the taglist window, process all the opened buffers.
14. When moving between windows, disable and enable autocommands.
15. When a file is selected from the taglist window, use a non-plugin
    window to edit the file.
16. If 'Tlist_Exit_OnlyWindow' is set and when exiting Vim, make sure
    the '0 mark is set to the previous buffer.
17. When using the taglist plugin with the winmanager plugin and
    'Tlist_Process_File_Always' is set or the taglist menu is enabled,
    sometimes, it is not possible to jump to other windows from the
    taglist window using the keyboard. Fixed this problem.
18. While opening files in a new window, use filenames instead of buffer
    numbers.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 010847481e Version 4.0b2
1. Added the TlistAddFiles command to add multiple files to the taglist window without opening them.
2. Maintain the taglist window width and height across Vim window layout changes.
3. Restore the Vim window location after the taglist window is closed.
4. Use a simpler regular expression for parsing tags output.
5. When a closed fold is selected in the taglist window, open the fold and jump to the file.
6. When the Tlist_Auto_Open variable is set, open the taglist window only when a supported type of file is opened.
7. When displaying tags for a single file, center the current tag line when opening a file.
8. When jumping to a tag, add the previous location to the jump list.
9. Fixed a problem with recording timestamps in the debug messages on MS-Windows.
10. Set the ' mark when jumping to a selected tag.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan d319c932c5 Version 4.0b1
Added support for optionally displaying the tags in the drop-down/popup menu. Performance enhancments, various bug fixes and debug support.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 579a5bab88 Version 3.4
1. Introduced a new option 'Tlist_Show_One_File" to display the tags for only the current buffer in the taglist window.
2. Support for not displaying the tags for a user-deleted file in the taglist window.
3. Fix for sharing the mouse single click map with other plugins
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan e5c430700d Version 3.3
1. If Tlist_Ctags_Cmd variable is not set, on startup, check for the
   presence of exuberant-ctags or ctags or tags in the PATH and set
   Tlist_Ctags_Cmd variable accordingly. If none of the executable is
   found, then the taglist plugin will not be not loaded.
2. Added a new configuration variable Tlist_Enable_Fold_Column to
   enable or disable fold columns in the taglist window.
3. Added support for setting the taglist application name used by the
   winmanager plugin and the cream package.
4. Two new key mappings ([[ and ]]) are added to the taglist window to
   move between files.
5. When a file is modified, the taglist window will be automatically
   updated (after going to some other window or buffer and then coming
   to the modified buffer).
6. Made the Tlist_Update_File_Tags() function as a global function.
   This function can be used to add or update the tags for a new file.
7. Updated the Tlist_Get_Tag_Prototype_By_Line() and the
   Tlist_Get_Tagname_By_Line() functions to get the tag name and tag
   prototype for the specified line in a file.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan b77977c318 Version 3.2
Added support for closing the tags tree for inactive files, removing the tags tree for deleted buffers, processing the tags when the taglist window is not opened, disabling the automatic highlighting of the current tag, displaying name of the current tag.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan e5c42caaf2 Version 3.1
Added support for saving and restoring taglist sessions. Separated the taglist documentation into a separate file in Vim help format.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 89662c477a Version 3.0: Added support for displaying tags defined in multiple files. 0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan b430c96fd5 Version 2.8: Added information about the taglist mailing list. 0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 642b3296e7 Version 2.7
1. Added TlistUpdate command to update the taglist window.
2. Made the taglist highlight groups user configurable.
3. Fixed a problem in the taglist integration with the winmanager plugin
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan 5c9f5bc85c Version 2.6
1. Added support for previewing a tag.
2. Added the TlistClose command to close the taglist window
3. Added the Tlist_Exit_OnlyWindow option to close the taglist window if only that window is open.
0001-01-01 00:00:00 +00:00
Yegappan Lakshmanan e9b9608c00 Version 2.5
Added support for highlighting the tag scope. Added support for displaying namespaces in C++ files. Updated the comments.
0001-01-01 00:00:00 +00:00