From d1279d16be075cb0d6aaafe924650c38d29216a5 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 22 Jul 2019 13:31:40 +1200 Subject: Set font for Vim 2html.vim --- vim/plugin/2html.vim | 1 + 1 file changed, 1 insertion(+) create mode 100644 vim/plugin/2html.vim diff --git a/vim/plugin/2html.vim b/vim/plugin/2html.vim new file mode 100644 index 00000000..95dcbb6c --- /dev/null +++ b/vim/plugin/2html.vim @@ -0,0 +1 @@ +let g:html_font = ['DejaVu Sans Mono', 'Ubuntu Mono', 'Consolas'] -- cgit v1.2.3 From 4c6c64f757035a5258dc762164d0bacf9605dfda Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 22 Jul 2019 23:33:52 +1200 Subject: Add a Git hooks issue with new repositories --- ISSUES.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ISSUES.md b/ISSUES.md index 103c3a98..597d7bd8 100644 --- a/ISSUES.md +++ b/ISSUES.md @@ -30,3 +30,9 @@ Known issues pushed upstream. * The `_text_filenames` completion handler for Bash won't work on files with newlines in their names. Can it be made to? +* First commit to a new repository fails with the Git template hooks because + the HEAD ref doesn't exist yet: + + fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. + Use '--' to separate paths from revisions, like this: + 'git [...] -- [...]' -- cgit v1.2.3 From 488ebe8343bc8a5b1784d3185b7a2716c081bdba Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 23 Jul 2019 01:15:27 +1200 Subject: Spin alternate_filetypes.vim plugin into a dist --- .gitmodules | 3 +++ vim/autoload/alternate_filetypes.vim | 13 ------------- vim/bundle/alternate_filetypes | 1 + vim/plugin/alternate_filetypes.vim | 4 ---- 4 files changed, 4 insertions(+), 17 deletions(-) delete mode 100644 vim/autoload/alternate_filetypes.vim create mode 160000 vim/bundle/alternate_filetypes delete mode 100644 vim/plugin/alternate_filetypes.vim diff --git a/.gitmodules b/.gitmodules index f91504da..b15ef0dc 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,7 @@ # Vim plugins +[submodule "vim/bundle/alternate_filetypes"] + path = vim/bundle/alternate_filetypes + url = https://sanctum.geek.nz/code/vim-alternate-filetypes.git [submodule "vim/bundle/big_file_options"] path = vim/bundle/big_file_options url = https://sanctum.geek.nz/code/vim-big-file-options.git diff --git a/vim/autoload/alternate_filetypes.vim b/vim/autoload/alternate_filetypes.vim deleted file mode 100644 index 08ac88dc..00000000 --- a/vim/autoload/alternate_filetypes.vim +++ /dev/null @@ -1,13 +0,0 @@ -function! alternate_filetypes#() abort - if exists('b:alternate_filetypes') - let filetypes = b:alternate_filetypes - let index = index(filetypes, &filetype) - if index >= 0 - let &filetype = filetypes[ - \ (index + 1) % len(filetypes) - \] - else - unlet b:alternate_filetypes - endif - endif -endfunction diff --git a/vim/bundle/alternate_filetypes b/vim/bundle/alternate_filetypes new file mode 160000 index 00000000..8110b886 --- /dev/null +++ b/vim/bundle/alternate_filetypes @@ -0,0 +1 @@ +Subproject commit 8110b88643276c17079e597a61ca3c3736b36fd2 diff --git a/vim/plugin/alternate_filetypes.vim b/vim/plugin/alternate_filetypes.vim deleted file mode 100644 index e024c9b2..00000000 --- a/vim/plugin/alternate_filetypes.vim +++ /dev/null @@ -1,4 +0,0 @@ -command -bar AlternateFileType - \ call alternate_filetypes#() | set filetype? -nnoremap (AlternateFileType) - \ :AlternateFileType -- cgit v1.2.3 From 30c3e2459777bdb028652d208a6be4ba783a501c Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 23 Jul 2019 01:15:50 +1200 Subject: Bump VERSION --- VERSION | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 4e6ae8cd..80bd6fa1 100644 --- a/VERSION +++ b/VERSION @@ -1,2 +1,2 @@ -tejr dotfiles v7.0.0 -Thu, 18 Jul 2019 02:27:14 +0000 +tejr dotfiles v7.1.0 +Mon, 22 Jul 2019 13:15:50 +0000 -- cgit v1.2.3