I am currently collaborating with a collaborator on a project and we use both code as VIM. However, I have noticed that my code does not align with the same type as it does and because of this it has some extra work to re-indent the code
so I turn on: tab ($ Set the list to see the place marked with I and the end of the line marked with the dollar.
For some reason when I type (my list), my text indicator or tab markers (^ I) also show marks like that for its code?
Here's an example of what I mean:
^ I ^ I $ this-> Greeting ('hello world'); $ whenever my code will appear in the same file:
$ this-> Answer ('Hello you'); $ Note the uneven location?
These are my vimrc settings: Setset Set Settab set softtabstop = 4 set tabstop = 4 set shiftwidth = 4 I hope That I am on the right track, there may be some other problem which I have not considered. Please share your knowledge on this matter.
Honestly, why
extended set This means that typed tabs become empty spaces, it is alright, as long as you both agree on a tab; Chances are they are using Unix- (and, for historical reasons, vim-) the default set tabstop = 8 .
Comments
Post a Comment