Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 1.15 KB

README.md

File metadata and controls

33 lines (22 loc) · 1.15 KB

Colorcode

Inspired by this post, this plugin aims to do exactly this. It reads the tags file in your working directory and adds a match for each tag.

Installation

  • Using Pathogen, run the following commands:

      % cd ~/.vim/bundle
      % git clone https://github.com/ferranpm/vim-colorcode
    

Usage

This plugin will only work if tags files are in your working directory. It only loads if it finds at least one tags file. After that, each time the file is saved, ctags is called and file gets repainted.

To disable this plugin use let g:colorcode_enable=0

Screenshots

Screenshot of a simple program with syntax off and let g:colorcode_global=0 Screenshot_1

...with let g:colorcode_global=1 option Screenshot_2

ToDo

  • Make it respect other colorschemes
  • Make it work on light backgrounds
  • Make it faster (specially with g:colorcode_global=0)
  • Add gvim support
  • Check if a tag is from the same filetype (a python tag should not appear in a vim script)