2013年9月6日星期五

Vim editor to change the font color

I created a document that is so vim
reopened this is
My question is whether they can just start editing it will be able to change the color of keywords out of the class , similar to Figure 2
------ Solution ------- -------------------------------------
it depends on your file format , if it is cpp cpp format that will highlight , if it is java java format will be highlighted .
------ Solution ---------------------------------------- ----
below that recognize the bash file , above that did not recognize
you want to create the outset . sh files on it.
------ Solution ---------------------------------------- ----
vim based on file extensions do file type recognition , when you create a new file with a . sh suffix okay .
ubuntu effective pro-test .

------ Solution - -------------------------------------------
vim based on file extensions names do file type recognition , and then depending on the file type for syntax highlighting
I do not know what the new file types , so there is no color, save it, set extensions on the line
------ For reference only -------------- -------------------------
Thank you, feasible

没有评论:

发表评论