runtime/typescript.vim: 96f45c0b6fc9e9d404e6805593ed1e0e6795e470

Port "runtime/indent/typescript.vim" changes only.
Close https://github.com/neovim/neovim/pull/12716.

96f45c0b6f
This commit is contained in:
Jan Edmund Lazo 2020-10-03 09:22:26 -04:00
parent 27b811dc1f
commit 8810973da4
No known key found for this signature in database
GPG Key ID: 64915E6E9F735B15

View File

@ -1,7 +1,7 @@
" Vim indent file
" Language: TypeScript
" Maintainer: See https://github.com/HerringtonDarkholme/yats.vim
" Last Change: 2019 Jun 06
" Last Change: 2019 Oct 18
" Acknowledgement: Based off of vim-ruby maintained by Nikolai Weibull http://vim-ruby.rubyforge.org
" 0. Initialization {{{1
@ -442,7 +442,7 @@ let &cpo = s:cpo_save
unlet s:cpo_save
function! Fixedgq(lnum, count)
let l:tw = &tw ? &tw : 80;
let l:tw = &tw ? &tw : 80
let l:count = a:count
let l:first_char = indent(a:lnum) + 1