When I work on webrtc src-code, there is an strange issue found:
My webrtc source root is: ~/dev/webrtc_android/
#step-1 When I open this head-file, the highlight is now right: ~/dev/webrtc_android/src/modules/audio_processing/include/audio_processing.h
It looks like this:
#step-2 Then I try to mv this audio_processing.h to another path:
~/dev/test/audio_processing.h
and open it with vim. The highlight works well like this:
**It seems to relate to the path name.
step-3 Again, I tried another case:**
still in the webrtc path: ~/dev/webrtc_android/src/modules/audio_processing/include/
rename another headfile(audio_generator.h) to audio_processing.h
and open the new-fake "audio_processing.h"
the highlight is wrong which is same to #step-1
#step-4: one more test
"audio_processing.h" originally located in ~/dev/webrtc_android/src/modules/audio_processing/include/
cp it to ~/dev/webrtc_android/src/modules/audio_processing/mydir/
open it with vim, highlight works well
so the dir "include" seems affect the highlight parsing.
Up to now, I tried three case:
open the "audio_processing.h" in the original source path----hightlight not ok
copy the special "audio_processing.h" to another totally different path, and open it with vim ----highlight ok
rename another head-file to "audio_processing.h" in original source path, and open it wieh vim----highlight not ok
based on the orignial webrtc source path framework, only mv "audio_processing.h" to another directory----highlight ok
I GUESS:
This issue is related to the path name, which is sensitive to "include"?
Other info:
I enable the colorscheme in my .vimrc (refer to my .vimrc for more info)
my vim version:
VIM - Vi IMproved 7.4
ubuntu version:
Ubuntu 16.04.6 LTS
other *.h works well in the path: ~/dev/webrtc_android/src/modules/audio_processing/include/
even I disable the "colorscheme molokai", the problem still happens
my .vimrc is an link, and attached with the special "audio_processing.h" as gz-file:
lrwxrwxrwx 1 jgong jgong 31 8月 12 17:57 .vimrc -> /home/jgong/.spf13-vim-3/.vimrc
When I work on webrtc src-code, there is an strange issue found:
My webrtc source root is: ~/dev/webrtc_android/
#step-1 When I open this head-file, the highlight is now right: ~/dev/webrtc_android/src/modules/audio_processing/include/audio_processing.h It looks like this:
#step-2 Then I try to mv this audio_processing.h to another path:
~/dev/test/audio_processing.h and open it with vim. The highlight works well like this:
**It seems to relate to the path name.
step-3 Again, I tried another case:**
#step-4: one more test
Up to now, I tried three case:
I GUESS: This issue is related to the path name, which is sensitive to "include"?
Other info:
Is it possible to have a glance to this problem? If your buddy want any other info, please feel free to let me know! Thx!~