Skip to content

A vim plugin to highlight variables and functions, which is what you should realy look at!

Notifications You must be signed in to change notification settings

ferranpm/vim-colorcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

A vim plugin to highlight variables and functions, which is what you should realy look at!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published