chrisyip / Better-CSS-Syntax-for-Vim

Better CSS Syntax for Vim
57 stars 8 forks source link

Add global setting to easily disable plugin #10

Closed jamestomasino closed 12 years ago

jamestomasino commented 12 years ago

Adding something like the following would enable users to disable the plugin by setting a single variable in their .vimrc. It would also prevent the plugin from attempting to load twice.

if exists("g:BetterCSSSyntaxforVim")
    finish
endif

let g:BetterCSSSyntaxforVim = "1"
chrisyip commented 12 years ago

Add, thanks.

https://github.com/ChrisYip/Better-CSS-Syntax-for-Vim/commit/54073e5e9437ce8bf9b999f7da1b27fe05bf50c9