aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-06-06 20:13:32 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-06-06 20:13:32 +1200
commitbef16f8a40bc38c55b891cb3fb3073ed5b1c3a66 (patch)
tree45c5dd70707fb041adbfd6f9f7b29740009b33fc
parentAdd an issue with build process (diff)
downloaddotfiles-bef16f8a40bc38c55b891cb3fb3073ed5b1c3a66.tar.gz
dotfiles-bef16f8a40bc38c55b891cb3fb3073ed5b1c3a66.zip
Invoke Vim in a cleaner way for :helptags build
-rw-r--r--ISSUES.md3
-rw-r--r--Makefile2
-rw-r--r--install/helptags.vim2
3 files changed, 3 insertions, 4 deletions
diff --git a/ISSUES.md b/ISSUES.md
index 9fd847db..5ba90368 100644
--- a/ISSUES.md
+++ b/ISSUES.md
@@ -32,6 +32,3 @@ Known issues
newlines in their names. Can it be made to?
* Highlighting the variable name in e.g. `unset -v VARNAME` works with `bash`
highlighting, but not with `sh` highlighting
-* Vim still spits some nonsense into the terminal for generating help tags, as
- discovered in builds.sr.ht's build output. There are probably some more
- magic flags to add to the call.
diff --git a/Makefile b/Makefile
index f66f1046..c1319139 100644
--- a/Makefile
+++ b/Makefile
@@ -653,7 +653,7 @@ install-vim-bundle: install-vim-config
cd vim/bundle && find */*/* \
-type f -exec sh -c \
'cp -p -- "$$1" $(VIMDIR)/"$${1#*/}"' _ {} \;
- $(VIM) -e -u NONE -c 'helptags $(VIMDIR)/doc' -c quit
+ $(VIM) -Esu install/helptags.vim
install-vim-compiler:
mkdir -p -- $(VIMDIR)/compiler
diff --git a/install/helptags.vim b/install/helptags.vim
new file mode 100644
index 00000000..865f32db
--- /dev/null
+++ b/install/helptags.vim
@@ -0,0 +1,2 @@
+helptags $HOME/.vim/doc
+quit