From 9858af6f41ff7d9f295384c45ef21d2f3892fbd3 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Mon, 30 Oct 2017 15:03:46 +1300 Subject: Move filetype-specific indent options into indent/ I'm still getting used to the structure of the configuration here, and had mistakenly put these indent-related settings into files in the ftplugin directory. --- vim/ftplugin/html.vim | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 vim/ftplugin/html.vim (limited to 'vim/ftplugin/html.vim') diff --git a/vim/ftplugin/html.vim b/vim/ftplugin/html.vim deleted file mode 100644 index 654aa407..00000000 --- a/vim/ftplugin/html.vim +++ /dev/null @@ -1,18 +0,0 @@ -" Explicitly set indent level; this matches the global default, but it's tidy -" to enforce it in case we changed from a filetype with different value (e.g. -" VimL) -setlocal shiftwidth=4 -setlocal softtabstop=4 -setlocal tabstop=4 - -" Run tidy -eq -utf8 on file for the current buffer -nnoremap v :exe "!tidy -eq -utf8 " . shellescape(expand("%")) - -" Make a bare URL into a link to itself -function! UrlLink() - normal yiW - execute "normal i0\">\" - normal E - execute "normal a\" -endfunction -nnoremap r :call UrlLink() -- cgit v1.2.3