@@ -286,11 +286,11 @@ if !exists("mm_filetype_config")
286
286
autocmd FileType py set errorformat = % C\ % .% #,% A\ \ File\ \" % f \" \\ ,\ line \ % l % .% #,% Z% [% ^\ ]% \\ @= % m
287
287
288
288
" source code gets wrapped
289
- autocmd FileType javascript,php,html,python,actionscript set autoindent
289
+ autocmd FileType javascript,typescript, php,html,python,actionscript set autoindent
290
290
291
- autocmd FileType ruby,javascript,vue set tabstop = 2 " number of spaces for a tab
292
- autocmd FileType ruby,javascript,vue set softtabstop = 2 " using 2 spaces
293
- autocmd FileType ruby,javascript,vue set shiftwidth = 2 " number of spaces to autoindent
291
+ autocmd FileType ruby,javascript,typescript, vue set tabstop = 2 " number of spaces for a tab
292
+ autocmd FileType ruby,javascript,typescript, vue set softtabstop = 2 " using 2 spaces
293
+ autocmd FileType ruby,javascript,typescript, vue set shiftwidth = 2 " number of spaces to autoindent
294
294
295
295
" Thor classes are just Ruby
296
296
autocmd BufNewFile ,BufRead *.thor set filetype = ruby
@@ -373,6 +373,7 @@ noremap <silent> <leader>N :noh<cr>:call clearmatches()<cr>
373
373
374
374
let g: neoformat_try_node_exe = 1
375
375
let g: vim_jsx_pretty_colorful_config = 1
376
+ let g: snipMate = { ' snippet_version' : 1 }
376
377
377
378
" for easier debugging
378
379
" let g:neoformat_verbose = 1
0 commit comments