summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
Diffstat (limited to 'home')
-rw-r--r--home/.config/nvim/plugin/rfc.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/home/.config/nvim/plugin/rfc.vim b/home/.config/nvim/plugin/rfc.vim
index d0aac655..0c724492 100644
--- a/home/.config/nvim/plugin/rfc.vim
+++ b/home/.config/nvim/plugin/rfc.vim
@@ -3,12 +3,12 @@ if !exists('g:rfc_path')
 endif
 
 function! s:RFC(number)
-	let number = (empty(a:number) ? '-index' : a:number)
+	let number = (empty(a:number) ? '-index' : str2nr(a:number, 10))
 	let path = expand(g:rfc_path . '/rfc' . number . '.txt.gz')
 	if filereadable(path)
 		execute 'silent' 'noswapfile' 'view' path
 	else
-		echohl ErrorMsg | echo 'No such RFC' number | echohl None
+		echohl ErrorMsg | echo 'No such RFC' a:number | echohl None
 	endif
 endfunction
 
ollow=1'>Free part.parts.ptrJune McEnroe 2020-04-26Rename part->id to part->contentIDJune McEnroe 2020-04-26Iterate through nested multiparts to find content for AtomJune McEnroe 2020-04-26Include Cc address in reply mailtosJune McEnroe 2020-04-26Use %R for RFC numbers in STANDARDS sectionJune McEnroe 2020-04-26Add mailto spec to STANDARDSJune McEnroe 2020-04-26Increase space between nav itemsJune McEnroe 2020-04-26Add mailto address for the archiveJune McEnroe 2020-04-26Put dates on new lines in indexJune McEnroe 2020-04-26Include <> around Message-Id in mailto: URLsJune McEnroe 2020-04-26Add link to index on thread pagesJune McEnroe 2020-04-26Fall back to Content-Type name parameter for attachmentsJune McEnroe 2020-04-26Remove margins in article.message headerJune McEnroe 2020-04-26Generate index.atomJune McEnroe 2020-04-26Generate XHTML content in Atom entriesJune McEnroe 2020-04-25Style index pageJune McEnroe 2020-04-25Render index.htmlJune McEnroe 2020-04-25Wrap <summary> replies count in <data>June McEnroe 2020-04-25Accumulate thread envelopes before concatenationJune McEnroe 2020-04-24Free envelope in concatDataJune McEnroe 2020-04-24Use replyTo address in mailto:June McEnroe 2020-04-23Wrap quoted lines in <q>June McEnroe