summaryrefslogblamecommitdiffstats
path: root/ftplugin/ember-script.vim
blob: 62015611959501df4d1e0cf537ac3dd5d12b83fc (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                                                             

        
 
                           

                                                          


                         







                      




                                                 

                            
if polyglot#init#is_disabled(expand('<sfile>:p'), 'emberscript', 'ftplugin/ember-script.vim')
  finish
endif

" Language:    ember-script
" Maintainer:  Yulij Andreevich Lesov <yalesov@gmail.com>>
" URL:         http://github.com/yalesov/vim-ember-script
" Version:     1.0.4
" Last Change: 2016 Jul 6
" License:     ISC

setlocal tabstop=2
setlocal softtabstop=2
setlocal shiftwidth=2
setlocal smarttab
setlocal expandtab
setlocal smartindent

if v:version < 703
  setlocal formatoptions-=t formatoptions+=croql
else
  setlocal formatoptions-=t formatoptions+=croqlj
endif
setlocal comments=:#
setlocal commentstring=#\ %s