Wednesday, February 22, 2017

syntax question.

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 filetype
filetype=new

:set syntax
syntax=new

these are my current filtype and syntax settings. I just set both of them to a nonexistent value 'new'. but i still see that left justification.

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: