diff options
author | Bram Moolenaar <Bram@vim.org> | 2012-07-12 22:01:11 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2012-07-12 22:01:11 +0200 |
commit | 30b658179962cc3c9f0a98f071b36b09a36c2b94 (patch) | |
tree | 65394aa7dfead6c415065471e17fefce6c8cd242 /runtime/ftplugin | |
parent | dfef15481db114779fde81dc577319d88557c13a (diff) | |
download | vim-git-30b658179962cc3c9f0a98f071b36b09a36c2b94.tar.gz |
Updated runtime files.
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/c.vim | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/ftplugin/c.vim b/runtime/ftplugin/c.vim index 7d6c29859..19e8c51ed 100644 --- a/runtime/ftplugin/c.vim +++ b/runtime/ftplugin/c.vim @@ -1,7 +1,7 @@ " Vim filetype plugin file " Language: C " Maintainer: Bram Moolenaar <Bram@vim.org> -" Last Change: 2011 Aug 04 +" Last Change: 2012 Jul 10 " Only do this when not done yet for this buffer if exists("b:did_ftplugin") @@ -40,7 +40,7 @@ let b:match_words = &matchpairs . ',^\s*#\s*if\(\|def\|ndef\)\>:^\s*#\s*elif\>:^ let b:match_skip = 's:comment\|string\|character' " Win32 can filter files in the browse dialog -if has("gui_win32") && !exists("b:browsefilter") +if (has("gui_win32") || has("gui_gtk")) && !exists("b:browsefilter") if &ft == "cpp" let b:browsefilter = "C++ Source Files (*.cpp *.c++)\t*.cpp;*.c++\n" . \ "C Header Files (*.h)\t*.h\n" . |