Skip to content
This repository was archived by the owner on Oct 17, 2023. It is now read-only.

Commit d099d32

Browse files
authored
Fix undo_ftplugin
This should unset any options the plugin sets but we were also unsetting options we weren't setting here.
1 parent 52f3ca3 commit d099d32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ftplugin/typescript.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ setlocal formatoptions-=t formatoptions+=croql
1515

1616
setlocal suffixesadd+=.ts,.tsx
1717

18-
let b:undo_ftplugin = "setl fo< ofu< com< cms<"
18+
let b:undo_ftplugin = "setl cms< fo< sua<"
1919

2020
let &cpo = s:cpo_save
2121
unlet s:cpo_save

0 commit comments

Comments
 (0)