catium.vim

Unnamed repository; edit this file 'description' to name the repository.
git clone git://edryd.org/catium.vim
Log | Files | Refs

commit c96fe92e67d514abd89ab19a1b68180c29a45de1
parent c304ffc445dee4e0ce60cb17c53a1d1166096d04
Author: Ed van Bruggen <edvb54@gmail.com>
Date:   Sat, 21 May 2016 13:25:43 -0700

Change double quotes to single quotes

Diffstat:
plugin/catium.vim | 14+++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/plugin/catium.vim b/plugin/catium.vim @@ -4,7 +4,7 @@ scriptencoding utf-8 -if exists("g:loaded_catium") +if exists('g:loaded_catium') finish endif let g:loaded_catium = 1 @@ -39,10 +39,10 @@ let s:spacels = [ \ ] function! g:Catium() - let s:trailnum = get(g:, "catium#trail", 0) - let s:bodynum = get(g:, "catium#body", 0) - let s:facenum = get(g:, "catium#face", 0) - let s:spacenum = get(g:, "catium#space", 0) + let s:trailnum = get(g:, 'catium#trail', 0) + let s:bodynum = get(g:, 'catium#body', 0) + let s:facenum = get(g:, 'catium#face', 0) + let s:spacenum = get(g:, 'catium#space', 0) if strlen(s:traills[s:trailnum][0]) == 1 let s:trail = s:traills[s:trailnum][0].s:traills[s:trailnum][0] else @@ -55,8 +55,8 @@ function! g:Catium() endif let s:cat = s:bodyls[s:bodynum][0].s:facels[s:facenum][0] let s:totallen = winwidth(0) / 3 - strlen(s:cat) - let s:traillen = line(".") * s:totallen / line("$") - 1 + let s:traillen = line('.') * s:totallen / line('$') - 1 let s:spacelen = s:totallen - s:traillen - 1 - return repeat(s:trail, s:traillen).s:cat.repeat(s:space, s:spacelen)." " + return repeat(s:trail, s:traillen).s:cat.repeat(s:space, s:spacelen).' ' endfunction