From: martin f. krafft Date: Tue, 30 Oct 2007 10:11:39 +0000 (+0100) Subject: add ft for itsalltext X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/ac055309734e445ea3549c023e832505bcb516c1?hp=53a11b6bfedaebc752bf599e523b6fc760fc4254 add ft for itsalltext --- 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