diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-12-18 17:31:08 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-12-18 17:31:08 +1300 |
commit | 5536bbccd0917e554c283b73b420c2905df28efe (patch) | |
tree | 0a8d2814c50ec7a68505c175d3fa93cc674fd1a0 /vim/after/indent | |
parent | Fix indentation of a Makefile line (diff) | |
download | dotfiles-5536bbccd0917e554c283b73b420c2905df28efe.tar.gz dotfiles-5536bbccd0917e554c283b73b420c2905df28efe.zip |
Refactor indent macros into autoload function
Much nicer.
Diffstat (limited to 'vim/after/indent')
-rw-r--r-- | vim/after/indent/awk.vim | 2 | ||||
-rw-r--r-- | vim/after/indent/css.vim | 2 | ||||
-rw-r--r-- | vim/after/indent/html.vim | 2 | ||||
-rw-r--r-- | vim/after/indent/javascript.vim | 2 | ||||
-rw-r--r-- | vim/after/indent/mail.vim | 2 | ||||
-rw-r--r-- | vim/after/indent/perl.vim | 2 | ||||
-rw-r--r-- | vim/after/indent/php.vim | 2 | ||||
-rw-r--r-- | vim/after/indent/sh.vim | 2 | ||||
-rw-r--r-- | vim/after/indent/vim.vim | 2 |
9 files changed, 9 insertions, 9 deletions
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) |