aboutsummaryrefslogtreecommitdiff
path: root/vim/autoload
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-11-04 17:39:23 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-11-04 17:39:23 +1300
commit562c9ce6fbbd6fc8b9c5e470121dcc8e731de21e (patch)
tree5190477f5d3e36a7291e9aeddcc7e2e454e5cd78 /vim/autoload
parent2eb421d272c65106a9922f0be764bb2ac12f3fe3 (diff)
downloaddotfiles-562c9ce6fbbd6fc8b9c5e470121dcc8e731de21e.tar.gz
dotfiles-562c9ce6fbbd6fc8b9c5e470121dcc8e731de21e.zip
Use same comment boilerplate for custom plugins
A brief explanation, an author name, and the license should do fine.
Diffstat (limited to 'vim/autoload')
-rw-r--r--vim/autoload/detect_background.vim10
1 files changed, 8 insertions, 2 deletions
diff --git a/vim/autoload/detect_background.vim b/vim/autoload/detect_background.vim
index a1a2c208..89e5d19e 100644
--- a/vim/autoload/detect_background.vim
+++ b/vim/autoload/detect_background.vim
@@ -1,5 +1,11 @@
-" Invert Vim's built-in logic for choosing dark or light backgrounds; we'll
-" default to choosing a dark background unless we find some reason *not* to.
+"
+" detect_background.vim: Invert Vim's built-in logic for choosing dark or
+" light backgrounds; we'll default to choosing a dark background unless we
+" find some reason *not* to.
+"
+" Author: Tom Ryder <tom@sanctum.geek.nz>
+" License: Same as Vim itself
+"
function! detect_background#DetectBackground()
" Split up the value of $COLORFGBG (if any) by semicolons