diff options
author | Luke Kanies <luke@madstop.com> | 2007-12-19 14:08:41 -0600 |
---|---|---|
committer | Luke Kanies <luke@madstop.com> | 2007-12-19 14:08:41 -0600 |
commit | bc0616ee7def99fa26b86ab7d8b0c657e358c1dd (patch) | |
tree | ed944e1f53b92dd408ef9eb7041050b2d9665a36 /ext/vim | |
parent | 927cb24c0a6783b87bc511227f1640143c4a4649 (diff) | |
download | puppet-bc0616ee7def99fa26b86ab7d8b0c657e358c1dd.tar.gz puppet-bc0616ee7def99fa26b86ab7d8b0c657e358c1dd.tar.xz puppet-bc0616ee7def99fa26b86ab7d8b0c657e358c1dd.zip |
Updating filetype detection for vim, and changing
the filestructure for vim files. (#900 and #963)
Diffstat (limited to 'ext/vim')
-rw-r--r-- | ext/vim/README | 2 | ||||
-rw-r--r-- | ext/vim/filetype.vim | 9 | ||||
-rw-r--r-- | ext/vim/ftdetect/puppet.vim | 2 | ||||
-rw-r--r-- | ext/vim/syntax/puppet.vim (renamed from ext/vim/puppet.vim) | 0 |
4 files changed, 4 insertions, 9 deletions
diff --git a/ext/vim/README b/ext/vim/README new file mode 100644 index 000000000..776bb1eb2 --- /dev/null +++ b/ext/vim/README @@ -0,0 +1,2 @@ +To install these files, copy them into ~/.vim, or the relevant +system-wide location. diff --git a/ext/vim/filetype.vim b/ext/vim/filetype.vim deleted file mode 100644 index 2d73b4bfa..000000000 --- a/ext/vim/filetype.vim +++ /dev/null @@ -1,9 +0,0 @@ -" detect puppet filetypes -" $Id$ - -if exists("did_load_filetypes") - finish -endif -augroup filetypedetect - au! BufRead,BufNewFile *.pp setfiletype puppet -augroup END diff --git a/ext/vim/ftdetect/puppet.vim b/ext/vim/ftdetect/puppet.vim new file mode 100644 index 000000000..c9d15ea53 --- /dev/null +++ b/ext/vim/ftdetect/puppet.vim @@ -0,0 +1,2 @@ +" detect puppet filetype +au BufRead,BufNewFile *.pp set filetype=puppet diff --git a/ext/vim/puppet.vim b/ext/vim/syntax/puppet.vim index a29e368e1..a29e368e1 100644 --- a/ext/vim/puppet.vim +++ b/ext/vim/syntax/puppet.vim |