2019-03-04 03:28:35 -05:00
|
|
|
if exists('g:polyglot_disabled') && index(g:polyglot_disabled, 'emberscript') != -1
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
|
2014-04-14 19:14:47 -04:00
|
|
|
" Language: ember-script
|
2016-07-05 03:53:49 -04:00
|
|
|
" Maintainer: Yulij Andreevich Lesov <yalesov@gmail.com>>
|
|
|
|
" URL: http://github.com/yalesov/vim-ember-script
|
2016-07-19 04:09:54 -04:00
|
|
|
" Version: 1.0.4
|
|
|
|
" Last Change: 2016 Jul 6
|
|
|
|
" License: ISC
|
2014-04-14 19:14:47 -04:00
|
|
|
|
|
|
|
setlocal tabstop=2
|
|
|
|
setlocal softtabstop=2
|
|
|
|
setlocal shiftwidth=2
|
|
|
|
setlocal smarttab
|
|
|
|
setlocal expandtab
|
|
|
|
setlocal smartindent
|
|
|
|
|
2016-07-05 03:53:49 -04:00
|
|
|
if v:version < 703
|
|
|
|
setlocal formatoptions-=t formatoptions+=croql
|
|
|
|
else
|
|
|
|
setlocal formatoptions-=t formatoptions+=croqlj
|
|
|
|
endif
|
2014-04-14 19:14:47 -04:00
|
|
|
setlocal comments=:#
|
|
|
|
setlocal commentstring=#\ %s
|