diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2020-04-14 13:17:26 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2020-04-14 13:17:26 +0200 |
commit | 14dc82fc4e6c0c08078f97a24a6c1639c1cc5113 (patch) | |
tree | dea8d2398a9377a0eee7786776e3cd420ce1ee89 /ftplugin/typescriptreact.vim | |
parent | e86e0ad36ef9501acbc3e8c63a1d4fab104e47cb (diff) | |
download | vim-polyglot-14dc82fc4e6c0c08078f97a24a6c1639c1cc5113.tar.gz vim-polyglot-14dc82fc4e6c0c08078f97a24a6c1639c1cc5113.zip |
Update
Diffstat (limited to 'ftplugin/typescriptreact.vim')
-rw-r--r-- | ftplugin/typescriptreact.vim | 4 |
1 files changed, 4 insertions, 0 deletions
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 |