From 14dc82fc4e6c0c08078f97a24a6c1639c1cc5113 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 14 Apr 2020 13:17:26 +0200 Subject: Update --- ftplugin/typescriptreact.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'ftplugin/typescriptreact.vim') diff --git a/ftplugin/typescriptreact.vim b/ftplugin/typescriptreact.vim index 8a6bb9b5..6b8380f7 100644 --- a/ftplugin/typescriptreact.vim +++ b/ftplugin/typescriptreact.vim @@ -10,6 +10,10 @@ if exists("loaded_matchit") && !exists('b:tsx_match_words') \ : b:tsx_match_words endif +" Comment formatting +setlocal comments=s1:/*,mb:*,ex:*/,:// +setlocal formatoptions-=t formatoptions+=croql + set suffixesadd+=.tsx endif -- cgit v1.2.3