Permalink
Browse files

Markdown and Text ftplugins

- sets linebreak, textwidth, and wordwrapping
  • Loading branch information...
sirlancelot committed May 18, 2011
1 parent a9e9317 commit 872da294ba48ea52eae330c7793a14d99ed803b9
Showing with 12 additions and 0 deletions.
  1. +5 −0 filetype.vim
  2. +4 −0 personal/ftplugin/markdown.vim
  3. +3 −0 personal/ftplugin/text.vim
View
@@ -0,0 +1,5 @@
+if exists("did_load_filetypes") | finish | endif
+
+augroup filetypedetect
+ au! BufRead,BufNewFile *.txt setf text
+augroup END
@@ -0,0 +1,4 @@
+
+setlocal wrap
+setlocal linebreak
+setlocal textwidth=80
@@ -0,0 +1,3 @@
+setlocal wrap
+setlocal linebreak
+setlocal textwidth=80

0 comments on commit 872da29

Please sign in to comment.