Skip to content

Commit 1c8cd07

Browse files
committed
vimhelp: Add MacVim project
1 parent 50cb7d9 commit 1c8cd07

File tree

3 files changed

+12
-2
lines changed

3 files changed

+12
-2
lines changed

vimhelp/LICENSE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Copyright (c) 2016 Carlo Teubner
2+
Copyright (c) 2023 MacVim developers
23

34
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
45

vimhelp/scripts/h2h.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def main():
3636
parser.add_argument(
3737
"--project",
3838
"-p",
39-
choices=("vim", "neovim"),
39+
choices=("vim", "neovim", "macvim"),
4040
default="vim",
4141
help="Vim flavour (default: vim)",
4242
)

vimhelp/vimhelp/vimh2h.py

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@
77
import urllib.parse
88

99

10+
class MacVimProject:
11+
name = "MacVim"
12+
contrasted_name = "MacVim"
13+
url = "https://macvim.org/"
14+
repo = "https://github.com/macvim-dev/macvim/"
15+
doc_src_url = "https://github.com/macvim-dev/macvim/tree/master/runtime/doc"
16+
17+
1018
class VimProject:
1119
name = "Vim"
1220
contrasted_name = "the original Vim"
@@ -27,9 +35,10 @@ class NeovimProject:
2735

2836
VimProject.other = NeovimProject
2937
NeovimProject.other = VimProject
38+
MacVimProject.other = VimProject
3039

3140

32-
PROJECTS = {"vim": VimProject, "neovim": NeovimProject}
41+
PROJECTS = {"vim": VimProject, "neovim": NeovimProject, "macvim": MacVimProject}
3342

3443
FAQ_LINE = '<a href="vim_faq.txt.html#vim_faq.txt" class="l">vim_faq.txt</a>\tFrequently Asked Questions\n'
3544

0 commit comments

Comments
 (0)