diff options
author | Adam Kwiatek <kwiatek.adam@poczta.fm> | 2020-05-29 21:10:18 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-29 21:10:18 +0200 |
commit | de38ccabbd64e6b3354917a89e37d36407356a61 (patch) | |
tree | 389032f8306084047775e74037a33fd1657d6bdb | |
parent | f0f49cf0fa8bbcb7f84e3ffe699a934142498b14 (diff) | |
download | vim-polyglot-de38ccabbd64e6b3354917a89e37d36407356a61.tar.gz vim-polyglot-de38ccabbd64e6b3354917a89e37d36407356a61.zip |
Enable TypeScript in ftdetect (#496)
-rw-r--r-- | ftdetect/polyglot.vim | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ftdetect/polyglot.vim b/ftdetect/polyglot.vim index 229905ba..39ba7120 100644 --- a/ftdetect/polyglot.vim +++ b/ftdetect/polyglot.vim @@ -640,6 +640,7 @@ if index(g:polyglot_disabled, 'twig') == -1 endif if index(g:polyglot_disabled, 'typescript') == -1 + au BufNewFile,BufRead *.ts set ft=typescript au BufNewFile,BufRead *.tsx set ft=typescriptreact endif |