Skip to content

Commit 1a2a68e

Browse files
d-k-cvivien
authored andcommitted
factorize style functions into LinuxCodingStyle
[vd: rename SetLinuxStyle to LinuxCodingStyle.]
1 parent a96f62c commit 1a2a68e

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

plugin/linuxsty.vim

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,16 @@ function s:LinuxConfigure()
4343
endif
4444

4545
if apply_style
46-
call s:LinuxFormatting()
47-
call s:LinuxKeywords()
48-
call s:LinuxHighlighting()
46+
call s:LinuxCodingStyle()
4947
endif
5048
endfunction
5149

50+
function! s:LinuxCodingStyle()
51+
call s:LinuxFormatting()
52+
call s:LinuxKeywords()
53+
call s:LinuxHighlighting()
54+
endfunction
55+
5256
function s:LinuxFormatting()
5357
setlocal tabstop=8
5458
setlocal shiftwidth=8

0 commit comments

Comments
 (0)