Permalink
Commits on Jun 13, 2015
  1. Merge pull request #1 from MikeCoder/master

    improve closetag.vim
    Albert Lash committed Jun 13, 2015
Commits on Sep 2, 2014
  1. remove spaces

    MikeCoder committed Sep 2, 2014
  2. remove spaces

    MikeCoder committed Sep 2, 2014
Commits on Oct 14, 2011
  1. does this fix need to be committed

    docunext committed Oct 14, 2011
Commits on Oct 11, 2010
  1. using </ as the trigger to close tags

    docunext committed Oct 11, 2010
Commits on Sep 1, 2010
  1. Bugfix release: Changed function names to be script-local to avoid co…

    …nflicts with other scripts' stack implementations.
    Steven Mueller committed with vim-scripts May 24, 2005
  2. Added synID()-based comment awareness:

    Comment checking is now handled by vim's internal syntax checking.  Closing tags outside comments only matches non-commented tags.  Closing tags in comments matches only tags within comments, skipping blocks of normal code (wee!).  Can be really slow if syn sync minlines is large.  Set the b:closetag_disable_synID variable to disable comment contexts if it's too slow.
    
    Normal mode closetag now uses <C-R> in insert mode rather than p in normal mode:  Tag closing no longer clobbers the unnamed register, and (for vim 6.0) Doesn't modify the undo buffer when no change was made.  Made closetag_html_style variable buffer-local.  Improved documentation (hopefully).
    
    Configuration Variables rundown:
    - b:unaryTagsStack            Buffer local string containing a whitespace seperated list of element names that should be ignored while finding matching closetags.  Checking is done according to the current setting of the ignorecase option.
    - b:closetag_html_style       Define this (as with let b:closetag_html_style=1) and source the script again to set the unaryTagsStack to its default value for html.
    - b:closetag_disable_synID    Define this to disable comment checking if tag closing is too slow.
    Steven Mueller committed with vim-scripts Jun 8, 2001
  3. Initial upload

    Steven Mueller committed with vim-scripts Jun 5, 2001