-
-
Notifications
You must be signed in to change notification settings - Fork 122
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(summary): delay setting file type (#86)
- Loading branch information
Showing
2 changed files
with
19 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
if get(b:, 'did_ftplugin', v:false) | ||
finish | ||
endif | ||
let b:did_ftplugin = v:true | ||
|
||
let s:save_cpo = &cpo | ||
set cpo&vim | ||
|
||
setlocal winfixwidth | ||
setlocal nonumber | ||
setlocal norelativenumber | ||
setlocal nospell | ||
|
||
let b:undo_ftplugin = 'setlocal wfh< nu< rnu< spell<' | ||
|
||
let &cpo = s:save_cpo | ||
unlet s:save_cpo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters