mirror of
https://github.com/tpope/vim-haml.git
synced 2025-12-07 17:54:29 +08:00
Normalize modelines
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
" Filenames: *.haml
|
" Filenames: *.haml
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if !exists("main_syntax")
|
if !exists("main_syntax")
|
||||||
@@ -82,4 +82,4 @@ hi def link hamlError Error
|
|||||||
|
|
||||||
let b:current_syntax = "haml"
|
let b:current_syntax = "haml"
|
||||||
|
|
||||||
" vim:set sts=4 sw=4:
|
" vim:set sw=2:
|
||||||
|
|||||||
@@ -4,7 +4,7 @@
|
|||||||
" Filenames: *.sass
|
" Filenames: *.sass
|
||||||
|
|
||||||
if exists("b:current_syntax")
|
if exists("b:current_syntax")
|
||||||
finish
|
finish
|
||||||
endif
|
endif
|
||||||
|
|
||||||
runtime! syntax/css.vim
|
runtime! syntax/css.vim
|
||||||
@@ -53,6 +53,4 @@ hi def link sassClass Type
|
|||||||
|
|
||||||
let b:current_syntax = "sass"
|
let b:current_syntax = "sass"
|
||||||
|
|
||||||
"if main_syntax == 'css'
|
" vim:set sw=2:
|
||||||
"unlet main_syntax
|
|
||||||
"endif
|
|
||||||
|
|||||||
Reference in New Issue
Block a user