From 5536bbccd0917e554c283b73b420c2905df28efe Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 18 Dec 2019 17:31:08 +1300 Subject: Refactor indent macros into autoload function Much nicer. --- vim/after/indent/awk.vim | 2 +- vim/after/indent/css.vim | 2 +- vim/after/indent/html.vim | 2 +- vim/after/indent/javascript.vim | 2 +- vim/after/indent/mail.vim | 2 +- vim/after/indent/perl.vim | 2 +- vim/after/indent/php.vim | 2 +- vim/after/indent/sh.vim | 2 +- vim/after/indent/vim.vim | 2 +- 9 files changed, 9 insertions(+), 9 deletions(-) (limited to 'vim/after') diff --git a/vim/after/indent/awk.vim b/vim/after/indent/awk.vim index 951c830a..61f09a1e 100644 --- a/vim/after/indent/awk.vim +++ b/vim/after/indent/awk.vim @@ -1,2 +1,2 @@ " Use four spaces for indentation -runtime macros/indent/spaces/4.vim +call indent#spaces(4) diff --git a/vim/after/indent/css.vim b/vim/after/indent/css.vim index 951c830a..61f09a1e 100644 --- a/vim/after/indent/css.vim +++ b/vim/after/indent/css.vim @@ -1,2 +1,2 @@ " Use four spaces for indentation -runtime macros/indent/spaces/4.vim +call indent#spaces(4) diff --git a/vim/after/indent/html.vim b/vim/after/indent/html.vim index fb7f4127..c043f620 100644 --- a/vim/after/indent/html.vim +++ b/vim/after/indent/html.vim @@ -1,5 +1,5 @@ " Use four spaces for indentation -runtime macros/indent/spaces/4.vim +call indent#spaces(4) " Clear away the flag we set to indent after paragraphs unlet html_indent_inctags diff --git a/vim/after/indent/javascript.vim b/vim/after/indent/javascript.vim index 951c830a..61f09a1e 100644 --- a/vim/after/indent/javascript.vim +++ b/vim/after/indent/javascript.vim @@ -1,2 +1,2 @@ " Use four spaces for indentation -runtime macros/indent/spaces/4.vim +call indent#spaces(4) diff --git a/vim/after/indent/mail.vim b/vim/after/indent/mail.vim index 951c830a..61f09a1e 100644 --- a/vim/after/indent/mail.vim +++ b/vim/after/indent/mail.vim @@ -1,2 +1,2 @@ " Use four spaces for indentation -runtime macros/indent/spaces/4.vim +call indent#spaces(4) diff --git a/vim/after/indent/perl.vim b/vim/after/indent/perl.vim index 951c830a..61f09a1e 100644 --- a/vim/after/indent/perl.vim +++ b/vim/after/indent/perl.vim @@ -1,2 +1,2 @@ " Use four spaces for indentation -runtime macros/indent/spaces/4.vim +call indent#spaces(4) diff --git a/vim/after/indent/php.vim b/vim/after/indent/php.vim index 951c830a..61f09a1e 100644 --- a/vim/after/indent/php.vim +++ b/vim/after/indent/php.vim @@ -1,2 +1,2 @@ " Use four spaces for indentation -runtime macros/indent/spaces/4.vim +call indent#spaces(4) diff --git a/vim/after/indent/sh.vim b/vim/after/indent/sh.vim index 951c830a..61f09a1e 100644 --- a/vim/after/indent/sh.vim +++ b/vim/after/indent/sh.vim @@ -1,2 +1,2 @@ " Use four spaces for indentation -runtime macros/indent/spaces/4.vim +call indent#spaces(4) diff --git a/vim/after/indent/vim.vim b/vim/after/indent/vim.vim index 59179225..ce99f713 100644 --- a/vim/after/indent/vim.vim +++ b/vim/after/indent/vim.vim @@ -1,5 +1,5 @@ " Use two (not four!) spaces for indentation, per convention -runtime macros/indent/spaces/2.vim +call indent#spaces(2) " Remove inapplicable defaults from 'indentkeys'; we should only need to undo " this if the stock plugin didn't already arrange that (before v7.3.539) -- cgit v1.2.3