Mercurial > vim
annotate runtime/ftplugin/fish.vim @ 35466:9982c22412af v9.1.0502
patch 9.1.0502: MS-Windows: too much legacy code
Commit: https://github.com/vim/vim/commit/56f587b3f81f403bb0546c6892b3273b2a9e954f
Author: K.Takata <kentkt@csc.jp>
Date: Wed Jun 19 19:56:03 2024 +0200
patch 9.1.0502: MS-Windows: too much legacy code
Problem: MS-Windows: too much legacy code
Solution: Clean up old code
(Ken Takata)
* Remove very old codes for Cygwin version of GCC.
Nowadays Cygwin GCC cannot be used for building Win32 Vim.
(The `-mno-cygwin` option was removed in Cygwin GCC4.)
* Remove old codes for old versions of MinGW.
Remove `__MINGW32__` as much as possible.
* Adjust makefile.
closes: #15044
Signed-off-by: K.Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 19 Jun 2024 20:00:09 +0200 |
parents | 7c7432a53a6c |
children |
rev | line source |
---|---|
32004 | 1 " Vim filetype plugin file |
2 " Language: fish | |
3 " Maintainer: Nicholas Boyle (github.com/nickeb96) | |
4 " Repository: https://github.com/nickeb96/fish.vim | |
5 " Last Change: February 1, 2023 | |
33051
02939ae3aaca
runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents:
32004
diff
changeset
|
6 " 2023 Aug 28 by Vim Project (undo_ftplugin) |
35324
7c7432a53a6c
patch 9.1.0464: no whitespace padding in commentstring option in ftplugins
Christian Brabandt <cb@256bit.org>
parents:
33051
diff
changeset
|
7 " 2024 May 23 by Riley Bruins <ribru17@gmail.com> ('commentstring') |
32004 | 8 |
9 if exists("b:did_ftplugin") | |
10 finish | |
11 endif | |
12 let b:did_ftplugin = 1 | |
13 | |
14 setlocal iskeyword=@,48-57,_,192-255,-,. | |
15 setlocal comments=:# | |
35324
7c7432a53a6c
patch 9.1.0464: no whitespace padding in commentstring option in ftplugins
Christian Brabandt <cb@256bit.org>
parents:
33051
diff
changeset
|
16 setlocal commentstring=#\ %s |
32004 | 17 setlocal formatoptions+=crjq |
33051
02939ae3aaca
runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents:
32004
diff
changeset
|
18 |
02939ae3aaca
runtime: Set b:undo_ftplugin where missing (#12943)
Christian Brabandt <cb@256bit.org>
parents:
32004
diff
changeset
|
19 let b:undo_ftplugin = "setl cms< com< fo< isk<" |