aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-05-31 01:55:46 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-05-31 01:55:46 +1200
commita8e1c4e3972b82572aac495974038f2a6b38f623 (patch)
treea4a83d30da2484f00cc5be6f61a5adab1bb116e8
parentMerge branch 'release/v9.14.0' (diff)
parentBump VERSION (diff)
downloaddotfiles-9.15.0.tar.gz (sig)
dotfiles-9.15.0.zip
Merge branch 'release/v9.15.0'v9.15.0
* release/v9.15.0: Move plugin settings into vim/after and test var
-rw-r--r--VERSION4
-rw-r--r--vim/after/plugin/2html.vim11
-rw-r--r--vim/after/plugin/spellfile_local.vim5
-rw-r--r--vim/plugin/2html.vim5
4 files changed, 18 insertions, 7 deletions
diff --git a/VERSION b/VERSION
index 1bbd9ee2..d3f4b56f 100644
--- a/VERSION
+++ b/VERSION
@@ -1,2 +1,2 @@
-tejr dotfiles v9.14.0
-Sat, 30 May 2020 13:28:41 +0000
+tejr dotfiles v9.15.0
+Sat, 30 May 2020 13:55:44 +0000
diff --git a/vim/after/plugin/2html.vim b/vim/after/plugin/2html.vim
new file mode 100644
index 00000000..dd65486d
--- /dev/null
+++ b/vim/after/plugin/2html.vim
@@ -0,0 +1,11 @@
+" Don't make these settings if the base plugin didn't load
+if !exists('g:loaded_2html_plugin')
+ finish
+endif
+
+" Set preferred fonts for the HTML rendering
+let g:html_font = [
+ \ 'DejaVu Sans Mono',
+ \ 'Ubuntu Mono',
+ \ 'Consolas',
+ \]
diff --git a/vim/after/plugin/spellfile_local.vim b/vim/after/plugin/spellfile_local.vim
index 1655e78c..7d805660 100644
--- a/vim/after/plugin/spellfile_local.vim
+++ b/vim/after/plugin/spellfile_local.vim
@@ -1,3 +1,8 @@
+" Don't make these settings if the base plugin didn't load
+if !exists('g:loaded_spellfile_local')
+ finish
+endif
+
" Use XDG dirs for 'spellfile' if XDG_DATA_HOME is useable
if xdg#DataHome() !=# ''
let g:spellfile_local_dirs = [ xdg#DataHome() ]
diff --git a/vim/plugin/2html.vim b/vim/plugin/2html.vim
deleted file mode 100644
index 51d377e3..00000000
--- a/vim/plugin/2html.vim
+++ /dev/null
@@ -1,5 +0,0 @@
-let g:html_font = [
- \ 'DejaVu Sans Mono',
- \ 'Ubuntu Mono',
- \ 'Consolas',
- \]