Re: syntax question.

2017-02-22 Thread Nikolay Aleksandrovich Pavlov
2017-02-22 23:10 GMT+03:00 sinbad : > How does vim syntax formatting works? for instance when i type ':' the whole > line gets left justified to the start of the line, though this action makes > sense for c-coding, it also happens for other file types. I want to disable

syntax question.

2017-02-22 Thread sinbad
How does vim syntax formatting works? for instance when i type ':' the whole line gets left justified to the start of the line, though this action makes sense for c-coding, it also happens for other file types. I want to disable this specific syntax action. how can i achieve that ? :set

FEATURE REQUEST: includeexpr enhancements

2017-02-22 Thread Josef Fortier
I'm currently fascinated by using includeexpr to link files together in an intelligent fashion. But I've been frustrated by it's limitations. I think these two enhancements would be reasonable: 1) Expose the (current) source file in a v:XXX variable in addition to the v:fname filename string

Re: Disabling persistent undo for a file mask

2017-02-22 Thread RingoRangoRongo
On Wednesday, February 22, 2017 at 5:21:20 PM UTC+2, Ben Fritz wrote: > What other commands do you have in your .vimrc to enable the undo file for > other file types? I'd guess you have an interference going on. Nothing except this: set undofile set undodir=~/.vim/tmp// No filetype is

Re: Disabling persistent undo for a file mask

2017-02-22 Thread Ben Fritz
On Wednesday, February 22, 2017 at 12:23:16 AM UTC-6, RingoRangoRongo wrote: > Hi! > > > In order to disable persistent undo for a file mask I have the following > command in my .vimdc: > > autocmd! BufRead,BufWrite *.sec setlocal ul=-1 > > However, I noticed the following strange