K.Takata's patch queue for Vim
Revisão | 93f66f9b5ef9043cec8f54d809fef486163a5987 (tree) |
---|---|
Hora | 2024-02-08 18:49:13 |
Autor | K.Takata <kentkt@csc....> |
Commiter | K.Takata |
Add Adruino ftplugin and indent files
@@ -0,0 +1,23 @@ | ||
1 | +# HG changeset patch | |
2 | +# Parent 2d5c1852f1c021851f716b5514b677c2673e328f | |
3 | + | |
4 | +diff --git a/runtime/indent/arduino.vim b/runtime/indent/arduino.vim | |
5 | +new file mode 100644 | |
6 | +--- /dev/null | |
7 | ++++ b/runtime/indent/arduino.vim | |
8 | +@@ -0,0 +1,15 @@ | |
9 | ++" Vim indent file | |
10 | ++" Language: Arduino | |
11 | ++" Maintainer: The Vim Project <https://github.com/vim/vim> | |
12 | ++" Last Change: 2024 Feb 08 | |
13 | ++ | |
14 | ++" Only load this indent file when no other was loaded. | |
15 | ++if exists("b:did_indent") | |
16 | ++ finish | |
17 | ++endif | |
18 | ++let b:did_indent = 1 | |
19 | ++ | |
20 | ++" Use C indenting. | |
21 | ++setlocal cindent | |
22 | ++ | |
23 | ++let b:undo_indent = "setl cin<" |
@@ -30,4 +30,5 @@ | ||
30 | 30 | wip-py3-hook-linux.patch #+wip |
31 | 31 | debug-mswin_event.patch #+wip |
32 | 32 | win32-use-same-cmdline-for-iscygpty.patch |
33 | +add-arduino.patch | |
33 | 34 | fix-config_cache-removal.patch #+rejected |