Mercurial > vim
annotate runtime/ftplugin/indent.vim @ 29100:c09c7ea83047 v8.2.5071
patch 8.2.5071: with some Mac OS version clockid_t is redefined
Commit: https://github.com/vim/vim/commit/f5465ff5c83f5a8a3e05bec64a0c013e5bdeb46e
Author: ichizok <gclient.gaap@gmail.com>
Date: Thu Jun 9 14:50:10 2022 +0100
patch 8.2.5071: with some Mac OS version clockid_t is redefined
Problem: With some Mac OS version clockid_t is redefined.
Solution: Adjust #ifdefs. (Ozaki Kiichi, closes https://github.com/vim/vim/issues/10549)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 09 Jun 2022 16:00:03 +0200 |
parents | 786b2a8ec970 |
children | 7c7432a53a6c |
rev | line source |
---|---|
375 | 1 " Vim filetype plugin file |
26219 | 2 " Language: indent(1) configuration file |
3 " Maintainer: Doug Kearns <dougkearns@gmail.com> | |
4 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
5 " Latest Revision: 2008-07-09 | |
375 | 6 |
7 if exists("b:did_ftplugin") | |
8 finish | |
9 endif | |
10 let b:did_ftplugin = 1 | |
11 | |
1698 | 12 let s:cpo_save = &cpo |
13 set cpo&vim | |
14 | |
389 | 15 let b:undo_ftplugin = "setl com< cms< fo<" |
375 | 16 |
389 | 17 setlocal comments=s1:/*,mb:*,ex:*/ commentstring& |
18 setlocal formatoptions-=t formatoptions+=croql | |
1698 | 19 |
20 let &cpo = s:cpo_save | |
21 unlet s:cpo_save |