Mercurial > vim
annotate runtime/ftplugin/indent.vim @ 18341:a9d518b1271b v8.1.2165
patch 8.1.2165: mapping test fails on Mac
Commit: https://github.com/vim/vim/commit/4f2f61a014e80217a2d6ac476c8f94e250a3d0ff
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Oct 16 22:27:49 2019 +0200
patch 8.1.2165: mapping test fails on Mac
Problem: Mapping test fails on Mac.
Solution: Remove the default Mac mapping.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 16 Oct 2019 22:30:05 +0200 |
parents | 1218c5353e2b |
children | 786b2a8ec970 |
rev | line source |
---|---|
375 | 1 " Vim filetype plugin file |
11062 | 2 " Language: indent(1) configuration file |
3 " Previous Maintainer: Nikolai Weibull <now@bitwi.se> | |
4 " Latest Revision: 2008-07-09 | |
375 | 5 |
6 if exists("b:did_ftplugin") | |
7 finish | |
8 endif | |
9 let b:did_ftplugin = 1 | |
10 | |
1698 | 11 let s:cpo_save = &cpo |
12 set cpo&vim | |
13 | |
389 | 14 let b:undo_ftplugin = "setl com< cms< fo<" |
375 | 15 |
389 | 16 setlocal comments=s1:/*,mb:*,ex:*/ commentstring& |
17 setlocal formatoptions-=t formatoptions+=croql | |
1698 | 18 |
19 let &cpo = s:cpo_save | |
20 unlet s:cpo_save |