From 04f2d9f319e363b1b6291fa3fefc1650aad2b228 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Tue, 4 Dec 2018 15:04:47 +1300 Subject: Remove accidentally created html.vim~ file --- vim/after/ftplugin/html.vim~ | 35 ----------------------------------- 1 file changed, 35 deletions(-) delete mode 100644 vim/after/ftplugin/html.vim~ (limited to 'vim/after/ftplugin') diff --git a/vim/after/ftplugin/html.vim~ b/vim/after/ftplugin/html.vim~ deleted file mode 100644 index 5f7155bc..00000000 --- a/vim/after/ftplugin/html.vim~ +++ /dev/null @@ -1,35 +0,0 @@ -" Don't load if the buffer is not actually HTML (e.g. Markdown) -if &filetype !=# 'html' - finish -endif - -" Use tidy(1) for checking -compiler tidy -let b:undo_ftplugin .= '|unlet b:current_compiler' - \ . '|setlocal errorformat< makeprg<' - -" tidy(1) copes fine with formatting an entire document, but not just part of -" it; we map \= to do the former, but don't actually set 'equalprg', falling -" back on the good-enough built-in Vim indentation behavior. -nnoremap = :call html#TidyBuffer() -let b:undo_ftplugin .= '|nunmap =' - -" Set up hooks for timestamp updating -augroup html_timestamp - autocmd BufWritePre - \ if exists('b:html_timestamp_check') - \| call html#TimestampUpdate() - \|endif -augroup END -let b:undo_ftplugin .= '|execute ''autocmd! html_timestamp''' - \ . '|augroup! html_timestamp' - -" Stop here if the user doesn't want ftplugin mappings -if exists('g:no_plugin_maps') || exists('g:no_html_maps') - finish -endif - -" Transform URLs to HTML anchors -nnoremap r - \ :call html#UrlLink() -let b:undo_ftplugin .= '|nunmap r' -- cgit v1.2.3