Permalink
Browse files

move indentation into indent/reprocessed.vim

  • Loading branch information...
1 parent 6f9b1b1 commit b624fc338aaa3b942ff8b1e48fc79497df599ff9 @goonzoid committed Apr 1, 2013
Showing with 11 additions and 6 deletions.
  1. +1 −6 ftplugin/reprocessed.vim
  2. +10 −0 indent/reprocessed.vim
View
7 ftplugin/reprocessed.vim
@@ -1,16 +1,11 @@
-" Only do this when not done yet for this buffer
if (exists("b:did_ftplugin"))
finish
endif
let b:did_ftplugin = 1
-" Various local settings
-setlocal cindent
-setlocal cinkeys-=0#
-setlocal formatoptions-=t formatoptions+=croql
setlocal suffixesadd=.pde
setlocal commentstring=//\ %s
-let b:undo_ftplugin = "setlocal cin< cink< fo< sua< cms<"
+let b:undo_ftplugin = "setlocal sua< cms<"
" Run sketches from within vim
function! RunCurrentSketch()
View
10 indent/reprocessed.vim
@@ -0,0 +1,10 @@
+if (exists("b:did_indent"))
+ finish
+endif
+let b:did_indent = 1
+
+setlocal cindent
+setlocal cinkeys-=0#
+setlocal formatoptions-=t formatoptions+=croql
+let b:undo_indent = "setlocal cin< cink< fo<"
+

0 comments on commit b624fc3

Please sign in to comment.