Mercurial > vim
annotate runtime/ftplugin/dune.vim @ 18819:ba8dc10a2c0d v8.1.2397
patch 8.1.2397: should not define __USE_XOPEN
Commit: https://github.com/vim/vim/commit/e7dd0deb3c4c4b1f55e28e5fe9a4ef4b76951b85
Author: Bram Moolenaar <Bram@vim.org>
Date: Thu Dec 5 23:07:06 2019 +0100
patch 8.1.2397: should not define __USE_XOPEN
Problem: Should not define __USE_XOPEN. _XOPEN_SOURCE is not needed for
Android.
Solution: Remove __USE_XOPEN and adjust #ifdefs. (Ozaki Kiichi,
closes #5322)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 05 Dec 2019 23:15:04 +0100 |
parents | 432714f5c0f7 |
children | 15fa3923cc49 |
rev | line source |
---|---|
17261 | 1 " Language: Dune buildsystem |
2 " Maintainer: Markus Mottl <markus.mottl@gmail.com> | |
3 " Anton Kochkov <anton.kochkov@gmail.com> | |
4 " URL: https://github.com/rgrinberg/vim-ocaml | |
5 " Last Change: | |
6 " 2018 Nov 3 - Added commentstring (Markus Mottl) | |
7 " 2017 Sep 6 - Initial version (Etienne Millon) | |
8 | |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 let b:did_ftplugin=1 | |
13 | |
14 set lisp | |
15 | |
16 " Comment string | |
17 setl commentstring=;\ %s | |
18 setl comments=:; | |
19 | |
20 setl iskeyword+=#,?,.,/ |