Skip to content

Commit 6fc00fe

Browse files
committed
always expend tab for javascript
1 parent 395f890 commit 6fc00fe

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

indent/javascript.vim

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ setlocal nosmartindent
2121
setlocal indentexpr=GetJavascriptIndent()
2222
setlocal indentkeys=0{,0},0),0],!^F,o,O,e
2323

24+
"always expend tab
25+
setlocal expandtab
26+
setlocal shiftwidth=4
27+
setlocal softtabstop=4
28+
2429
" Only define the function once.
2530
if exists("*GetJavascriptIndent")
2631
finish

0 commit comments

Comments
 (0)