Mercurial > vim
annotate runtime/ftplugin/wat.vim @ 34207:5aee5855ccfe v9.1.0052
patch 9.1.0052: Patch 9.1.0041 causes regressions for users
Commit: https://github.com/vim/vim/commit/fa8c9715587a24562dd755c44dc13aef43d7d875
Author: Christian Brabandt <cb@256bit.org>
Date: Thu Jan 25 20:50:49 2024 +0100
patch 9.1.0052: Patch 9.1.0041 causes regressions for users
Problem: Patch 9.1.0041 causes regressions for users
(Gleb Fotengauer-Malinovskiy)
Solution: Revert 9.1.0041 and restore old behaviour
Revert "patch 9.1.0041: xxd -i may generate incorrect C statements"
This reverts commit 7062be13129985fe297b9a8e59c57b8f0db61b8f.
Signed-off-by: Christian Brabandt <cb@256bit.org>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Thu, 25 Jan 2024 21:00:05 +0100 |
parents | 4913b4f5a133 |
children | 7c7432a53a6c |
rev | line source |
---|---|
14432 | 1 " Vim filetype plugin file |
2 " Language: WebAssembly | |
3 " Maintainer: rhysd <lin90162@yahoo.co.jp> | |
33767
4913b4f5a133
patch 9.0.2104: wast filetype should be replaced by wat filetype
Christian Brabandt <cb@256bit.org>
parents:
14432
diff
changeset
|
4 " Last Change: Nov 14, 2023 |
14432 | 5 " For bugs, patches and license go to https://github.com/rhysd/vim-wasm |
6 | |
7 if exists("b:did_ftplugin") | |
8 finish | |
9 endif | |
10 let b:did_ftplugin = 1 | |
11 | |
12 setlocal comments=s:(;,e:;),:;; | |
13 setlocal commentstring=(;%s;) | |
14 setlocal formatoptions-=t | |
15 setlocal iskeyword+=$,.,/ | |
16 | |
17 let b:undo_ftplugin = "setlocal comments< commentstring< formatoptions< iskeyword<" |