summary refs log tree commit diff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/rfc/Makefile8
-rw-r--r--doc/rfc/rfc.vim30
2 files changed, 0 insertions, 38 deletions
diff --git a/doc/rfc/Makefile b/doc/rfc/Makefile
index 445e1163..e185dd97 100644
--- a/doc/rfc/Makefile
+++ b/doc/rfc/Makefile
@@ -27,14 +27,6 @@ install: ${BINS} rfc.1
 	ln -fs rfc.1 ${MANDIR}/man1/rfctags.1
 	rsync -ptz ${RFCS} ${PREFIX}/share/rfc
 
-install-nvim: install rfc.vim
-	install -d ${PREFIX}/share/nvim/site/plugin
-	install -m 644 rfc.vim ${PREFIX}/share/nvim/site/plugin
-	(cd ${PREFIX}/share/rfc \
-		&& printf '!_TAG_FILE_SORTED\t2\ttags\n' \
-		&& ${PREFIX}/bin/rfctags *.txt) | sort -f > ${PREFIX}/share/rfc/tags
-
 uninstall:
 	rm -f ${BINS:%=${PREFIX}/bin/%} ${BINS:%=${MANDIR}/man1/%.1}
-	rm -f ${PREFIX}/share/nvim/site/plugin/rfc.vim
 	rm -fr ${PREFIX}/share/rfc
diff --git a/doc/rfc/rfc.vim b/doc/rfc/rfc.vim
deleted file mode 100644
index 4649cdf5..00000000
--- a/doc/rfc/rfc.vim
+++ /dev/null
@@ -1,30 +0,0 @@
-if !exists('g:rfc_path')
-	let g:rfc_path = fnamemodify(exepath('rfc'), ':h:h') . '/share/rfc'
-endif
-
-function! s:RFC(number)
-	if !empty(a:number)
-		let number = str2nr(matchstr(a:number, '\d\+'), 10)
-	else
-		let number = '-index'
-	endif
-	let path = expand(g:rfc_path . '/rfc' . number . '.txt')
-	if filereadable(path)
-		execute 'silent' 'noswapfile' 'view' path
-	else
-		echohl ErrorMsg | echo 'No such RFC' a:number | echohl None
-	endif
-endfunction
-
-function! s:BufRead()
-	setlocal readonly
-	setlocal keywordprg=:RFC
-	setlocal iskeyword=a-z,A-Z,48-57,.,[,],-,_
-	nmap <buffer> <silent> gO :call search('^Table of Contents', 'bcs')<CR>
-endfunction
-
-command! -bar -nargs=? RFC call s:RFC(<q-args>)
-augroup RFC
-	autocmd!
-	autocmd BufRead rfc*.txt call s:BufRead()
-augroup END
id=6f35229b87e64472805ba83e70bac5d8f90cb3e0&follow=1'>Use monospace on photo pagesJune McEnroe 2024-06-09Put lens and (future) film at the tops of photo pagesJune McEnroe 2024-05-22Remove use of sysexits.hJune McEnroe 2024-05-22Add photo descriptions from 05-03 and 05-06June McEnroe 2024-05-21Fix = precedence in whenJune McEnroe74d314e83c6708c106af53ed3a25d7b116c65b&follow=1'>Alias bc='bc -l'June McEnroe 2018-08-20Update usage of scheme in READMEJune McEnroe 2018-08-20Use scheme.h in fbatt and fbclockJune McEnroe 2018-08-20Generate scheme.hJune McEnroe 2018-08-20Add dependencies on gfx.hJune McEnroe 2018-08-18Add Blondie — Heart of GlassJune McEnroe Why didn't I know about this song? I love it. 2018-08-18Set FCEDIT=$EDITORJune McEnroe 2018-08-18Only post commits with bodies to MastodonJune McEnroe 2018-08-18Run tf/cfg link script with /bin/shJune McEnroe 2018-08-18Run {,s,t}up with /bin/shJune McEnroe 2018-08-18Use whence instead of typeJune McEnroe type is an alias for whence -v and is more for human consumption. 2018-08-18Cut off path components until right prompt fitsJune McEnroe Keeps paths valid (from somehwere) rather than abrupt truncation. 2018-08-17Add "private" alias to source encrypted fileJune McEnroe Why is there no easy way to *edit* an encrypted file? 2018-08-17Add vim mapping to add a #includeJune McEnroe