annotate runtime/ftplugin/abap.vim @ 12568:440d934bd616 v8.0.1162

patch 8.0.1162: shared script for tests cannot be included twice commit https://github.com/vim/vim/commit/660b85e39a48a9f2e3bd7e4d8b97d0a1b4842997 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Sep 30 14:26:58 2017 +0200 patch 8.0.1162: shared script for tests cannot be included twice Problem: Shared script for tests cannot be included twice. Solution: Include it where needed, it will "finish" if loaded again.
author Christian Brabandt <cb@256bit.org>
date Sat, 30 Sep 2017 14:30:05 +0200
parents 2d1383658bb4
children 02939ae3aaca
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
4264
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
1 " Vim filetype plugin file
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
2 " Language: ABAP
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
3 " Author: Steven Oliver <oliver.steven@gmail.com>
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
4 " Copyright: Copyright (c) 2013 Steven Oliver
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
5 " License: You may redistribute this under the same terms as Vim itself
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
6 " --------------------------------------------------------------------------
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
7
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
8 " Only do this when not done yet for this buffer
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
9 if (exists("b:did_ftplugin"))
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
10 finish
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
11 endif
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
12 let b:did_ftplugin = 1
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
13
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
14 let s:cpo_save = &cpo
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
15 set cpo&vim
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
16
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
17 setlocal softtabstop=2 shiftwidth=2
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
18 setlocal suffixesadd=.abap
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
19
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
20 " Windows allows you to filter the open file dialog
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
21 if has("gui_win32") && !exists("b:browsefilter")
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
22 let b:browsefilter = "ABAP Source Files (*.abap)\t*.abap\n" .
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
23 \ "All Files (*.*)\t*.*\n"
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
24 endif
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
25
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
26 let &cpo = s:cpo_save
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
27 unlet s:cpo_save
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
28
2d1383658bb4 Updated runtime files.
Bram Moolenaar <bram@vim.org>
parents:
diff changeset
29 " vim: set sw=4 sts=4 et tw=80 :