1
0
mirror of https://github.com/akelge/zsh synced 2025-07-04 13:39:07 +00:00

Fixed for Linux/Mac

This commit is contained in:
2014-02-01 11:40:37 +00:00
parent b5024d4b9e
commit 96b18bce32
3 changed files with 54 additions and 23 deletions

View File

@ -2,7 +2,7 @@
" Use substitute() (not printf()) to handle '%%s' modeline in LaTeX files.
function! AppendModeline()
let save_cursor = getpos('.')
let append = ' vim: set ts='.&tabstop.' sw='.&shiftwidth.' tw='.&textwidth.' ft='.&filetype.' : '
let append = ' vim: set ts='.&tabstop.' sw='.&shiftwidth.' tw='.&textwidth.' ft='.&filetype.' :'
$put =substitute(&commentstring, '%s', append, '')
call setpos('.', save_cursor)
endfunction