diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-31 01:51:33 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2020-05-31 01:51:33 +1200 |
commit | fbe2b356e2b888010252b7defd74e948cbda1564 (patch) | |
tree | 9b82fb7e8f5ef9b4e48e4c35d94e88a7359fda33 | |
parent | Merge branch 'release/v9.14.0' into develop (diff) | |
download | dotfiles-fbe2b356e2b888010252b7defd74e948cbda1564.tar.gz dotfiles-fbe2b356e2b888010252b7defd74e948cbda1564.zip |
Move plugin settings into vim/after and test var
-rw-r--r-- | vim/after/plugin/2html.vim | 11 | ||||
-rw-r--r-- | vim/after/plugin/spellfile_local.vim | 5 | ||||
-rw-r--r-- | vim/plugin/2html.vim | 5 |
3 files changed, 16 insertions, 5 deletions
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', - \] |