blob: 61db8093fb4b2d6bb89545bf1bc421f03cd7efa1 [file] [log] [blame]
Bram Moolenaarbf884932013-04-05 22:26:15 +02001" 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
dkearnsf937ab32023-08-29 05:32:27 +10006" Last Change: 2023 Aug 28 by Vim Project (undo_ftplugin)
Bram Moolenaarbf884932013-04-05 22:26:15 +02007" --------------------------------------------------------------------------
8
9" Only do this when not done yet for this buffer
10if (exists("b:did_ftplugin"))
11 finish
12endif
13let b:did_ftplugin = 1
14
15let s:cpo_save = &cpo
16set cpo&vim
17
18setlocal softtabstop=2 shiftwidth=2
19setlocal suffixesadd=.abap
20
dkearnsf937ab32023-08-29 05:32:27 +100021let b:undo_ftplugin = "setl sts< sua< sw<"
22
Bram Moolenaarbf884932013-04-05 22:26:15 +020023" Windows allows you to filter the open file dialog
24if has("gui_win32") && !exists("b:browsefilter")
25 let b:browsefilter = "ABAP Source Files (*.abap)\t*.abap\n" .
26 \ "All Files (*.*)\t*.*\n"
dkearnsf937ab32023-08-29 05:32:27 +100027 let b:undo_ftplugin .= " | unlet! b:browsefilter"
Bram Moolenaarbf884932013-04-05 22:26:15 +020028endif
29
30let &cpo = s:cpo_save
31unlet s:cpo_save
32
33" vim: set sw=4 sts=4 et tw=80 :