Mercurial > vim
comparison runtime/ftplugin/vim.vim @ 12826:f690da1b3c04
Update runtime files.
commit https://github.com/vim/vim/commit/7f2e9d7c9cdfc5201a899b7b610edf64bf80c45f
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 11 20:58:53 2017 +0100
Update runtime files.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sat, 11 Nov 2017 21:00:05 +0100 |
parents | 37c24033b260 |
children | a6d3e2081544 |
comparison
equal
deleted
inserted
replaced
12825:4c1a7b0a6f5c | 12826:f690da1b3c04 |
---|---|
1 " Vim filetype plugin | 1 " Vim filetype plugin |
2 " Language: Vim | 2 " Language: Vim |
3 " Maintainer: Bram Moolenaar <Bram@vim.org> | 3 " Maintainer: Bram Moolenaar <Bram@vim.org> |
4 " Last Change: 2014 Sep 07 | 4 " Last Change: 2017 Nov 06 |
5 | 5 |
6 " Only do this when not done yet for this buffer | 6 " Only do this when not done yet for this buffer |
7 if exists("b:did_ftplugin") | 7 if exists("b:did_ftplugin") |
8 finish | 8 finish |
9 endif | 9 endif |
22 setlocal fo-=t fo+=croql | 22 setlocal fo-=t fo+=croql |
23 | 23 |
24 " To allow tag lookup via CTRL-] for autoload functions, '#' must be a | 24 " To allow tag lookup via CTRL-] for autoload functions, '#' must be a |
25 " keyword character. E.g., for netrw#Nread(). | 25 " keyword character. E.g., for netrw#Nread(). |
26 setlocal isk+=# | 26 setlocal isk+=# |
27 | |
28 " Use :help to lookup the keyword under the cursor with K. | |
29 setlocal keywordprg=:help | |
27 | 30 |
28 " Set 'comments' to format dashed lists in comments | 31 " Set 'comments' to format dashed lists in comments |
29 setlocal com=sO:\"\ -,mO:\"\ \ ,eO:\"\",:\" | 32 setlocal com=sO:\"\ -,mO:\"\ \ ,eO:\"\",:\" |
30 | 33 |
31 " Format comments to be up to 78 characters long | 34 " Format comments to be up to 78 characters long |