Commit Graph

9 Commits

Author SHA1 Message Date
Martin Grenfell
b64942a500 uncomment out some needed syntax matching code... fail 2014-06-30 09:40:51 +01:00
Martin Grenfell
e954b2e6f8 trivial highlighting update for consistency 2014-06-29 21:44:40 +01:00
Martin Grenfell
e68e12a33b fix highlighting for readonly files 2014-06-29 21:44:19 +01:00
Martin Grenfell
b33d6daf0b remove the NERDChristmasTree option
If users want to customise the tree colours, this can be done trivially
in their vimrc. e.g.

    hi link NERDTreeFile error
2014-06-29 19:53:57 +01:00
Martin Grenfell
abb93879bb simplify the syntax matching code slightly 2014-06-29 19:53:30 +01:00
Martin Grenfell
634c23eadb Merge branch 'better_symlink_highlighting' into update_highlighting
Conflicts:
	syntax/nerdtree.vim
2014-06-29 18:28:28 +01:00
Martin Grenfell
9d9edd03d4 separate out syntax matching for Dir Arrows vs old style 2014-06-29 18:17:19 +01:00
Martin Grenfell
9704a38a14 update symlink highlighting
Previously we highlighted symlinks as one item (NERDTreeLink):

    symlinked_file -> /path/to/target

Split this out into 3 highlight groups:
    * NERDTreeLinkFile
    * NERDTreeLinkDir
    * NERDTreeLinkTarget

So we have:

    symlinked_dir/ -> /foo/bar
    -------------- ***********
         ^               ^
         |               |
    NERDTreeLinkDir   NERDTreeLinkTarget

Similarly for file links - with NERDTreeLinkFile instead of
NERDTreeLinkDir.

This allows users to modify how symlinks are highlighted. E.g. to make
them appear as normal files/dirs they could add this to their vimrc:

    hi link NERDTreeLinkFile NERDTreeFile
    hi link NERDTreeLinkDir NERDTreeDir
    hi link NERDTreeLinkTarget ignore
2014-06-29 16:23:58 +01:00
George Ang
70ba0d60ec separate syntax file for better combacibility with plugins that reloads
vimrc files(such as perdirvimrc) after BufRead.
2011-06-18 23:56:31 +08:00