Skip to content

Commit 9c2372d

Browse files
committed
Replace tabs with spaces
1 parent b1924f6 commit 9c2372d

2 files changed

Lines changed: 284 additions & 288 deletions

File tree

ftplugin/clojure.vim

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
" Only do this when not done yet for this buffer
1010
if exists("b:did_ftplugin")
11-
finish
11+
finish
1212
endif
1313

1414
let b:did_ftplugin = 1
@@ -33,19 +33,19 @@ setlocal commentstring=;%s
3333
" Take all directories of the CLOJURE_SOURCE_DIRS environment variable
3434
" and add them to the path option.
3535
if has("win32") || has("win64")
36-
let s:delim = ";"
36+
let s:delim = ";"
3737
else
38-
let s:delim = ":"
38+
let s:delim = ":"
3939
endif
4040
for s:dir in split($CLOJURE_SOURCE_DIRS, s:delim)
41-
let s:path = fnameescape(s:dir . "/**")
42-
" Whitespace escaping for Windows
43-
let s:path = substitute(s:path, '\', '\\\\', 'g')
44-
let s:path = substitute(s:path, '\ ', '\\ ', 'g')
45-
execute "setlocal path+=" . s:path
41+
let s:path = fnameescape(s:dir . "/**")
42+
" Whitespace escaping for Windows
43+
let s:path = substitute(s:path, '\', '\\\\', 'g')
44+
let s:path = substitute(s:path, '\ ', '\\ ', 'g')
45+
execute "setlocal path+=" . s:path
4646
endfor
4747
if exists('$CLOJURE_SOURCE_DIRS')
48-
let b:undo_ftplugin .= '| setlocal path<'
48+
let b:undo_ftplugin .= '| setlocal path<'
4949
endif
5050

5151
" When the matchit plugin is loaded, this makes the % command skip parens and
@@ -55,12 +55,12 @@ let b:match_skip = 's:comment\|string\|character'
5555

5656
" Win32 can filter files in the browse dialog
5757
if has("gui_win32") && !exists("b:browsefilter")
58-
let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" .
59-
\ "ClojureScript Source Files (*.cljs)\t*.cljs\n" .
60-
\ "Java Source Files (*.java)\t*.java\n" .
61-
\ "All Files (*.*)\t*.*\n"
58+
let b:browsefilter = "Clojure Source Files (*.clj)\t*.clj\n" .
59+
\ "ClojureScript Source Files (*.cljs)\t*.cljs\n" .
60+
\ "Java Source Files (*.java)\t*.java\n" .
61+
\ "All Files (*.*)\t*.*\n"
6262
endif
6363

6464
let &cpo = s:cpo_save
6565

66-
" vim:ts=8 sts=8 sw=8 noet:
66+
" vim:sts=4 sw=4 et:

0 commit comments

Comments
 (0)