Skip to content
Browse files

On Wheezy, we can make puppet files more uniform by adding a stopper …

…at the right spot of the line.
  • Loading branch information...
1 parent 1534c81 commit ef744ccff7a4b36d8aff60b1201cafd43758f1df @timstoop timstoop committed Jan 4, 2013
Showing with 7 additions and 0 deletions.
  1. +7 −0 kbp_vim/manifests/init.pp
View
7 kbp_vim/manifests/init.pp
@@ -31,6 +31,13 @@
"autocmd FileType python set shiftwidth=4":;
"autocmd FileType python set expandtab":;
}
+
+ # This setting only works for vim in Wheezy or higher
+ if versioncmp($lsbmajdistrelease, 6) > 0 {
+ gen_vim::global_setting {
+ "autocmd FileType puppet set colorcolumn=167":;
+ }
+ }
}
# Class: kbp_vim::puppet

0 comments on commit ef744cc

Please sign in to comment.
Something went wrong with that request. Please try again.