aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2020-06-02 09:38:53 +1200
committerTom Ryder <tom@sanctum.geek.nz>2020-06-02 09:38:53 +1200
commitc76d84d3ed510456e7e05341d15ee2b7d9a0cfe4 (patch)
tree47de7b1c8e9b6c8fcdc3546c6abb56b551110444
parentMerge branch 'hotfix/v9.16.1' into develop (diff)
downloaddotfiles-c76d84d3ed510456e7e05341d15ee2b7d9a0cfe4.tar.gz
dotfiles-c76d84d3ed510456e7e05341d15ee2b7d9a0cfe4.zip
Remove two outdated comments
-rw-r--r--vim/vimrc8
1 files changed, 2 insertions, 6 deletions
diff --git a/vim/vimrc b/vim/vimrc
index c251765b..470b4cb1 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -2,7 +2,7 @@
" Tom Ryder (tejr)’s Literate Vimrc
" ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
"
-" Last updated: Mon, 01 Jun 2020 07:06:53 UTC
+" Last updated: Mon, 01 Jun 2020 21:38:45 UTC
"
" │ And I was lifted up in heart, and thought
" │ Of all my late-shown prowess in the lists,
@@ -325,7 +325,7 @@ filetype plugin indent on
" There are a couple of contexts in which it's useful to reload filetypes for
" the current buffer, quietly doing nothing if filetypes aren't enabled.
" We'll set up a user command named :ReloadFileType to do this, with
-" a script-local function backing it.
+" an autloaded function backing it.
"
command! -bar ReloadFileType
\ call reload#FileType()
@@ -340,10 +340,6 @@ command! -bar ReloadFileType
" define the new command wrapper around an autoloaded function that itself
" issues a :ReloadFileType command after the vimrc file is sourced.
"
-" We can't put the actual :source command into the script-local function we
-" define here, because Vim would get upset that we're trying to redefine
-" a function as it executes!
-"
command! -bar ReloadVimrc
\ call reload#Vimrc()