Skip to content

Commit bb1d884

Browse files
committed
Rename CSSComb to CSScomb
1 parent 6af5abc commit bb1d884

2 files changed

Lines changed: 8 additions & 7 deletions

File tree

doc/csscomb.txt

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,12 @@ With Pathogen
5757
git clone https://github.com/miripiruni/csscomb-for-vim.git
5858

5959
With Vundle
60-
Add to .vimrc: Bundle 'git://github.com/miripiruni/csscomb-for-vim.git'
60+
Add to .vimrc:
61+
Bundle 'git://github.com/miripiruni/csscomb-for-vim.git'
6162

6263
Manual without plugins manager
63-
git clone https://github.com/miripiruni/csscomb-for-vim.git
64-
cp csscomb-vim/plugin/* ~/.vim/plugin/
64+
git clone https://github.com/miripiruni/CSScomb-for-Vim.git csscomb
65+
cp -r csscomb/plugin/* ~/.vim/plugin/
6566

6667
==============================================================================
6768
USAGE *csscomb-usage*

plugin/csscomb.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
" WebPage: https://github.com/batsuev/csscomb-vim
55
" License: MIT
66

7-
let g:CSSCombPluginDir = fnamemodify(expand("<sfile>"), ":h")
7+
let g:CSScombPluginDir = fnamemodify(expand("<sfile>"), ":h")
88

9-
function! g:CSSComb(count, line1, line2)
9+
function! g:CSScomb(count, line1, line2)
1010
let content = join(getline(a:line1, a:line2), "\n")
11-
let res = system("php ".fnameescape(g:CSSCombPluginDir."/exec.php"), content)
11+
let res = system("php ".fnameescape(g:CSScombPluginDir."/exec.php"), content)
1212
let lines = split(res, "\n")
1313
call setline(a:line1, lines)
1414
endfunction
1515

16-
command! -nargs=? -range=% CSSComb :call g:CSSComb(<count>, <line1>, <line2>, <f-args>)
16+
command! -nargs=? -range=% CSScomb :call g:CSSComb(<count>, <line1>, <line2>, <f-args>)

0 commit comments

Comments
 (0)