]> git.phdru.name Git - dotfiles.git/commitdiff
.vim/filetype.vim: Add autocmd for `textern`
authorOleg Broytman <phd@phdru.name>
Thu, 16 May 2019 00:54:05 +0000 (03:54 +0300)
committerOleg Broytman <phd@phdru.name>
Thu, 16 May 2019 00:54:05 +0000 (03:54 +0300)
Remove `ViewSourceWith` - the extension stopped working long ago.

.vim/filetype.vim

index c3134f1586e5f066e216eb14b99236d4cc7813ac..90f3ca5ca78896ecf4bd49d80df385ae4dd5f11b 100644 (file)
@@ -5,7 +5,7 @@ endif
 augroup filetypedetect
    " Text files
    autocmd BufNewFile,BufReadPost *.txt,*README* setlocal filetype=text
 augroup filetypedetect
    " Text files
    autocmd BufNewFile,BufReadPost *.txt,*README* setlocal filetype=text
-   autocmd BufReadPost ~/tmp/mozilla/firefox/viewSource.tmp/*.txt setlocal textwidth=0 " Files from ViewSourceWith
+   autocmd BufReadPost /tmp/textern*/*.txt setlocal textwidth=0 " Files from textern
 
    " Cheetah templates
    autocmd BufNewFile,BufReadPost *.tmpl setlocal filetype=htmlcheetah
 
    " Cheetah templates
    autocmd BufNewFile,BufReadPost *.tmpl setlocal filetype=htmlcheetah