Commit 414898f
committed
reintegrate: add vim syntax highlighting
This will still involve some hoop-jumping to install, since Homebrew
isn't really supposed to be used to add local Vim extensions. AFAICT,
Vim doesn't have any patches under Homebrew that tell it to look for
system-wide configurations under /usr/local/etc, so we can't just
install things there (unlike bash_completion or zsh_completion).
Instead, the idea at this point is to basically take the same approach
as https://github.com/junegunn/fzf, where the brew formula has a caveat
telling you how to add a custom path to Vim's runtimepath variable. All
that means for this repo is that we have to make sure to bundle the vim
syntax files in the release tarball. So besides the vim source itself,
just have to amend the (ghetto) build script a little bit.
Fixes #2.1 parent 057e4d8 commit 414898f
File tree
3 files changed
+38
-3
lines changed- vim
- ftdetect
- syntax
3 files changed
+38
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
3 | 13 | | |
4 | 14 | | |
5 | 15 | | |
| |||
30 | 40 | | |
31 | 41 | | |
32 | 42 | | |
33 | | - | |
34 | | - | |
35 | | - | |
| 43 | + | |
36 | 44 | | |
37 | 45 | | |
38 | 46 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments