Skip to content
Browse files

Set default filetype to text

Signed-off-by: Chris Larson <clarson@kergoth.com>
  • Loading branch information...
1 parent 83f5ecb commit 4cf67fdd74cc25514948d7c441b08a34e55a1dbf @kergoth committed Aug 13, 2010
Showing with 2 additions and 2 deletions.
  1. +0 −2 README.rst
  2. +2 −0 ftdetect/text.vim
View
2 README.rst
@@ -45,5 +45,3 @@ TODO
- Integrate MacVim's 'fullscreen' and 'fuoptions' into shell.vim
(http://peterodding.com/code/vim/shell/)
- Show the pyflakes error message in the cursor bubble
-- Fix the default filetype to be 'text', the way it used to be in my previous
- configuration.
View
2 ftdetect/text.vim
@@ -0,0 +1,2 @@
+" Set a default filetype
+au BufReadPost,BufNewFile,VimEnter * if &ft == '' | setfiletype text | endif

0 comments on commit 4cf67fd

Please sign in to comment.
Something went wrong with that request. Please try again.