summaryrefslogtreecommitdiff
path: root/support
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-12-11 22:20:11 -0800
committerOri Bernstein <ori@eigenstate.org>2015-12-11 22:20:11 -0800
commite9a476ebae14c3d6a806bddc1b7514b60a846fc4 (patch)
tree3ef4b7eb6e6b609d04e872b9e81887bc669512a5 /support
parentd21cc40703f9e3fb86e590fce62ee0847fc6cfd8 (diff)
downloadmc-e9a476ebae14c3d6a806bddc1b7514b60a846fc4.tar.gz
Fix code to disallow use before definition.
At least in some cases.
Diffstat (limited to 'support')
-rw-r--r--support/vim/ftdetect/myr.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/vim/ftdetect/myr.vim b/support/vim/ftdetect/myr.vim
index 07b8129..0616ece 100644
--- a/support/vim/ftdetect/myr.vim
+++ b/support/vim/ftdetect/myr.vim
@@ -1,3 +1,3 @@
au BufRead,BufNewFile *.myr
- \ set ft=myr |
- \ set errorformat=%f:%l:\ %m,%D%f/%[a-z]%#...,%Dproject\ base\ %f:
+ \ setlocal ft=myr |
+ \ setlocal errorformat=%f:%l:\ %m,%D%f/%[a-z]%#...,%Dproject\ base\ %f: