diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-06-06 20:13:32 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-06-06 20:13:32 +1200 |
commit | bef16f8a40bc38c55b891cb3fb3073ed5b1c3a66 (patch) | |
tree | 45c5dd70707fb041adbfd6f9f7b29740009b33fc | |
parent | Add an issue with build process (diff) | |
download | dotfiles-bef16f8a40bc38c55b891cb3fb3073ed5b1c3a66.tar.gz dotfiles-bef16f8a40bc38c55b891cb3fb3073ed5b1c3a66.zip |
Invoke Vim in a cleaner way for :helptags build
-rw-r--r-- | ISSUES.md | 3 | ||||
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | install/helptags.vim | 2 |
3 files changed, 3 insertions, 4 deletions
@@ -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. @@ -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 |