From 4f3df59be709bf0d5c5c67dc804fde49abdc2700 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Thu, 12 Sep 2019 14:33:21 +0200 Subject: Improve guard so it works for no eof new line --- ftplugin/tsx.vim | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ftplugin/tsx.vim') diff --git a/ftplugin/tsx.vim b/ftplugin/tsx.vim index b6a6e6a9..8a6bb9b5 100644 --- a/ftplugin/tsx.vim +++ b/ftplugin/tsx.vim @@ -1,4 +1,5 @@ if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'typescript') == -1 + " modified from mxw/vim-jsx from html.vim if exists("loaded_matchit") && !exists('b:tsx_match_words') let b:match_ignorecase = 0 @@ -10,4 +11,5 @@ if exists("loaded_matchit") && !exists('b:tsx_match_words') endif set suffixesadd+=.tsx + endif -- cgit v1.2.3