3 if &formatoptions =~ 'a' |
3 if &formatoptions =~ 'a' |
4 setl fo-=a | echo '-a' |
4 setl fo-=a | echo '-a' |
5 else |
5 else |
6 setl fo+=a | echo '+a' |
6 setl fo+=a | echo '+a' |
7 endif |
7 endif |
|
8 endfunc |
|
9 |
|
10 func! vimrc#Ltag(term) abort |
|
11 exe "ltag " . a:term |
|
12 lopen |
8 endfunc |
13 endfunc |
9 |
14 |
10 " Make paths when writing, as necessary |
15 " Make paths when writing, as necessary |
11 func! vimrc#MkNonExDir(file, buf) abort |
16 func! vimrc#MkNonExDir(file, buf) abort |
12 if empty(getbufvar(a:buf, '&buftype')) && a:file!~#'\v^\w+\:\/' |
17 if empty(getbufvar(a:buf, '&buftype')) && a:file!~#'\v^\w+\:\/' |