File tree 1 file changed +12
-0
lines changed
1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,11 @@ if s:use_pug
72
72
let &formatoptions = s: save_formatoptions
73
73
endif
74
74
75
+ if s: use_stylus
76
+ unlet ! b: did_indent
77
+ runtime ! indent /stylus.vim
78
+ endif
79
+
75
80
if s: use_sass
76
81
unlet ! b: did_indent
77
82
runtime ! indent /sass.vim
@@ -169,6 +174,9 @@ function! GetSvelteIndent()
169
174
elseif s: SynSASS (cursyn)
170
175
call s: Log (' syntax: sass' )
171
176
let ind = GetSassIndent ()
177
+ elseif s: SynStylus (cursyn)
178
+ call s: Log (' syntax: stylus' )
179
+ let ind = GetStylusIndent ()
172
180
elseif s: SynStyle (cursyn)
173
181
call s: Log (' syntax: style' )
174
182
let ind = GetCSSIndent ()
@@ -297,6 +305,10 @@ function! s:SynTypeScript(syn)
297
305
return a: syn == ? ' typescriptSvelteScript'
298
306
endfunction
299
307
308
+ function ! s: SynStylus (syn )
309
+ return a: syn == ? ' cssStylusSvelteStyle'
310
+ endfunction
311
+
300
312
function ! s: SynSASS (syn )
301
313
return a: syn == ? ' cssSassSvelteStyle'
302
314
endfunction
You can’t perform that action at this time.
0 commit comments