From ac055309734e445ea3549c023e832505bcb516c1 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Tue, 30 Oct 2007 11:11:39 +0100 Subject: [PATCH 1/1] add ft for itsalltext --- .vim/ftdetect/itsalltext.vim | 4 ++++ .vim/ftplugin/itsalltext.vim | 9 +++++++++ 2 files changed, 13 insertions(+) create mode 100644 .vim/ftdetect/itsalltext.vim create mode 100644 .vim/ftplugin/itsalltext.vim diff --git a/.vim/ftdetect/itsalltext.vim b/.vim/ftdetect/itsalltext.vim new file mode 100644 index 0000000..3eee5a7 --- /dev/null +++ b/.vim/ftdetect/itsalltext.vim @@ -0,0 +1,4 @@ +augroup filetypedetect + " detect itsalltext buffers + au! BufRead,BufNewFile */itsalltext/*.txt setf itsalltext +augroup END diff --git a/.vim/ftplugin/itsalltext.vim b/.vim/ftplugin/itsalltext.vim new file mode 100644 index 0000000..e5d1bb1 --- /dev/null +++ b/.vim/ftplugin/itsalltext.vim @@ -0,0 +1,9 @@ +if exists("b:did_ftplugin") + finish +endif + +let b:did_ftplugin = 1 + +setlocal nolist +setlocal wrap +setlocal linebreak -- 2.39.5