I have some .c files that are not automatically allocated in vim. This problem has only just begun. I did not edit the .vimrc file:
set number nnoremap <F2> :set nonumber!<CR>:set foldcolumn=0<CR> set ignorecase syntax on filetype plugin indent on nnoremap <CH> :Hexmode<CR> inoremap <CH> <Esc>:Hexmode<CR> vnoremap <CH> :<CU>Hexmode<CR> au BufWinLeave * mkview au BufWinEnter * silent loadview set tabpagemax=15 set wrap
It is strange when I open a file that does not stand out automatically and type :set syntax=C , it works, but if I reload the .vimrc file with :so ~/.vimrc , the highlight disappears. This does not happen with other .c files.
dcpomero
source share