4264
|
1 " Vim filetype plugin file
|
|
2 " Language: ABAP
|
|
3 " Author: Steven Oliver <oliver.steven@gmail.com>
|
|
4 " Copyright: Copyright (c) 2013 Steven Oliver
|
|
5 " License: You may redistribute this under the same terms as Vim itself
|
|
6 " --------------------------------------------------------------------------
|
|
7
|
|
8 " Only do this when not done yet for this buffer
|
|
9 if (exists("b:did_ftplugin"))
|
|
10 finish
|
|
11 endif
|
|
12 let b:did_ftplugin = 1
|
|
13
|
|
14 let s:cpo_save = &cpo
|
|
15 set cpo&vim
|
|
16
|
|
17 setlocal softtabstop=2 shiftwidth=2
|
|
18 setlocal suffixesadd=.abap
|
|
19
|
|
20 " Windows allows you to filter the open file dialog
|
|
21 if has("gui_win32") && !exists("b:browsefilter")
|
|
22 let b:browsefilter = "ABAP Source Files (*.abap)\t*.abap\n" .
|
|
23 \ "All Files (*.*)\t*.*\n"
|
|
24 endif
|
|
25
|
|
26 let &cpo = s:cpo_save
|
|
27 unlet s:cpo_save
|
|
28
|
|
29 " vim: set sw=4 sts=4 et tw=80 :
|