Vim Syntax Highlight Problem

free web hosting
Free Web Hosting > Computers & Tech > Operating Systems > Linux

Vim Syntax Highlight Problem

jedipi
I got a problem with vim syntax highlight.

When i type "syntax on" in the command mode ,
the vim return an error "can not open file /usr/share/vim/vim61/syntax/syntax.vim".

then I found that I really don't have this file or directory.
Because I use vim63 actually. The correct path will be "/usr/share/vim/vim63/syntax/syntax.vim". Am I right??

I guess i should edit the path somewhere to solve the problem, but i can't find it.
Please help me!! What i should do.
Thank you very much!

Reply

qwijibow
does the file "/usr/share/vim/vim63/syntax/syntax.vim" exist ?

is so, you ca use a symbolic link.

CODE

cd /usr/share/
ln -s vim63 vim61


next time an application tries to access " /usr/share/vim/vim61/syntax/syntax.vim" it will be routed, ad filesystem level to " /usr/share/vim/vim63/syntax/syntax.vim"

this is more of a quick solution, a better way may be to find an incorrect config file, and correct it. look for vim config files hidden in you home directory, or in /etc/


Reply

jedipi
QUOTE(qwijibow @ May 13 2005, 06:40 PM)
CODE

cd /usr/share/
ln -s vim63 vim61



Thanks for your help.

yes, "/usr/share/vim/vim63/syntax/syntax.vim" does exist in my system.

Therefore, the command "ln -s vim63 vim61" is really helpful.
And problem was fixed.

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

Recent Queries:-
  1. path to syntax.vim - 121.25 hr back. (1)
  2. vim syntax.vim path - 342.78 hr back. (1)
Similar Topics

Keywords : vim, syntax, highlight, problem

  1. System Is Crashed - Hardware Problem
    Precaution (3)
  2. Problem Setting Up Wireless Internet & Wireless Nintendo Wii
    Need some help installing/configuring Wireless (4)
    Hi all, I am having quite some troubling issues with my wireless setup (to be setup *more like
    it*). Current hardware: 1. NETGEAR ProSafe 802.11g Wireless Access Point WG102 2. Telkom Wireless
    Router / Switch 3. Nintendo Wii (Wireless) 4. IBM Thinkpad T42 (Wireless) 5. Desktop PC With NIC
    The current setup *See attached picture* "Setup" So I have a 3G card working through PCMCIA on my
    T42 Thinkpad, which I use for internet connectivity. I want to share my internet connection
    throughout my house.. to my desktop PC + Nintendo Wii... I have tried setting it up myself, ....
  3. Graphics Driver Out...
    Devie Usage problem... (2)
    So I was playing around with properties. I went to Desktop > Right click > properties > settings >
    advanced > adapter > properties and on the devie usage thing, I "accidentally" clicked disable..
    Now I think that my graphics driver is not properly functioning... Can anyone help me? Thanks in
    advance.........
  4. Pc Problem
    (8)
    i have a problem with my PC... when i start a game (FABLE:TLC or shaiya) something starts working
    very fast and louder in my case and the PC shuts down immediately(sometimes) and sometimes i can
    just play the game normally.... when i place my hand over graphics card (Geforce 9600 galaxy) it is
    not very hot..its normal...do u understand?....
  5. Problem With Div's In Ie6 And Lower
    (4)
    I'm working on a template for joomla, but I'm heaving some serious problems to get it
    working in IE6 and lower. Basically, this is my layout: CODE
    -------------------------------------------------------------------------------------
    |                                                                                        |          
                 | |                            header                                                
    |                       | | -----------------------------------------------------------------
    |                       | |           ....
  6. Problem With Acdsee
    is default application (4)
    A girlfriend has a problem with ACDSee (for Pentax). For some reason it has been set as the default
    application for opening folders, so everytime a folder is clicked, ACDSee opens. If already tried to
    fix the file association (changing the default action, adding a new action that opens explorer, but
    it won't work /huh.gif" style="vertical-align:middle" emoid=":huh:" border="0" alt="huh.gif"
    /> ). I've also tried to untick the "browse with acdsee" option in ACDSee, but it doesn't
    remember this option. How can I fix this ?....
  7. Problem With Move_uploaded_file()
    Permission denied? (5)
    CODE Warning: move_uploaded_file(images/profile/Mordent.jpg) : failed to open stream:
    Permission denied in /home/mordent/public_html/withvalour/edit_image.php on line 42 Warning:
    move_uploaded_file() : Unable to move '/tmp/phpOWVz7o' to
    'images/profile/Mordent.jpg' in /home/mordent/public_html/withvalour/edit_image.php on line
    42 Any ideas? The code seems fine, as it works a treat when I run it locally (on WAMPServer),
    but as soon as I try to run it on the server I get this horrid error. I'm guessing some weird
    permission problem that I hav....
  8. Administrator Account Problem In Microsoft Xp [solved]
    I have lost "my documents" (20)
    I have problem with administrator account ... I created new administrator account with this way:
    start /control panel /account users/new account and than I created a new one ; after this I turned
    off computer . I wanted to have two skypes turned on and my friend suggested me to do so... when I
    turned it on the second day , I coudn't enter with the first administrator ,and I entered with
    the administrator that I had created . I have lost my document folder.. please help me . how can I
    enter or can I enter with that first administrator account?? Can my documents be ....
  9. A Gaiaonline Problem
    A problem i want to stop (9)
    I have a problem getting on Gaiaonline. When I go it always says "SLOW DOWN Slow down, hotshot!
    You've been loading pages too fast, and our system doesn't like it. Take a break for a few
    minutes so we can catch up! This is not a ban. Come back in a littlw while, ok?" and I want it to
    stop! So can anyone please help me out here?....
  10. Trojan / Virus Problem ,please Help
    might be (hoon) (18)
    I have been infected with atrojan but i can detect it. and i have detected Hoon trojan and deleted
    it ,but the symptoms of the trojan is still on my pcs network " all driver have an autoplay (right
    click by mouse) and it gives my this message by d-click on any driver ************** SYS.EXE
    QUOTE windows cannot find 'sys.exe',make sure you typed the name correctly and then try
    again.to search for a file ,clicl the start botton then clicl search the virus was detected and
    deleted from all drivers: C:\sys.exe D:\sys.exe E:\sys.exe F:\sys.exe G:\sys.exe ???....
  11. Fedora Core 6 Install Problem
    (6)
    I have tried three times to get Fedora Core 6 to install but I keep getting the same error message:
    “there was an error running your transaction, for the following reason(s): file conflicts”. I am
    using all of the default settings except changing the time zone and basically installing all
    packages. The error always happens near the end of the fifth disk. I have run sha hash checking on
    all media and everything checks out. Has anyone had this problem or a possible solution?....
  12. Internet Explorer 7 Problem
    Works fine in Firefox! (Shocker) (8)
    Hey, I'm helping my mom with one of her web projects for class and I've noticed a pretty
    big problem (no thanks to IE7) that cost her a few points. It won't load an image of an email
    icon, however, Firefox will load and display it properly. Here's the line for the image: CODE
    Also, IE7 complains about some ActiveX content, but this is just a basic page and NO
    JavaScript, NO Java applets, NO ActiveX of any kind! I've never seen anything as crazy as this!
    Wow... IE really sucks... anyone had a similar problem? F....
  13. Win Rar Password Problem
    (7)
    i have some trouble with some winrar files password the files is for an ISO and iam trying to remove
    the password because some files has a different password i have tried to change the password but no
    luck ...i used set default password and no luck too if any1 have any idea please post it thanks in
    advance -joe....
  14. Problem With Drag And Drop (or So It Seems).
    (12)
    I'm running on Windows XP with Service Pack 1. The last few days, all of a sudden, the drag and
    drop functionality of explorer (or anything on the operating system that uses system calls in order
    to perform it) screws up completely. I attempt to drag it, and it just flickers a bit to the
    direciton I'm moving it and then fails. It doesn't seem to be the mouse as I can still drag
    a rectangle selection to select multiple files etc, just no drag and drop. However, it isn't
    always like that, it works generally (as far as I know) and stop working out of now....
  15. Frustrating Problem With XP On Laptop
    (20)
    I have my Dualcore AMD Acer laptop, 5102Wlmi, with a 120GB hd, 2 GB ram, etc. I had a friend buy it
    in the states and bring it over just 2 months ago. All of a sudden, the other day when i went to
    turn it on, it would bring up the xp boot screen, and then just hang there. I tried a different hard
    drive. no luck. I tired installing XP, but after booting from cd and loading all the drivers, right
    after the FAT and NTFS drivers, it says "Setup is loading Windows" and then it hangs there. I've
    left it overnight and in the morning it's still in the same place. I can&#....
  16. Spam Problem On My Forums
    (26)
    I’m starting to have a real problem in my forums. Apparently “midget anal porn” is the hottest new
    thing. I didn’t think midgets were into that kind of thing but apparently I’m wrong (apologies to
    any midgets out there). I knew that spam may be a problem on my board but I didn’t think that I
    would be a target just yet. I only have 16 registered users (including the spam bots). How in the
    world did they find me? Just like junk mail I figure this problem is only going to get worst since
    I am now apparently on the list. Does anyone have a solution to this problem? I....
  17. Blue Screen - irql_not_less_or_equal
    computer OS Windows problem booting (35)
    Hi , My computer AMD64 256mb RAM / 80GB HDD / Windows XP Professional recently started showing a
    blue screen while starting .. QUOTE A problem has been detected and windows has been shut down
    to prevent further damage to your computer . IRQL_NOT_LESS_OR_EQUAL (blah blah blah ... )
    Technical Information: *** STOP: 0x0000000A (oxFB07D354, ox000000FF, ox00000001, ox804E2E41)
    Initially, if I restarted it would not come the next time. It used to come only randomly. But
    later it started coming more often, and now it did not start for quite a few times con....
  18. Problem With The ReadOnly Property
    (3)
    I have a problem setting the readonly property of a textbox which depends on a yes and no radio
    buttons selection, I'm sure that my code is correct but i dont know why nothing happens. This is
    code: CODE New Document function changeRadio(sVal) {     if (sVal=='n')
        {         a.textval.readonly=true;         a.texval.value="";     }     else {
            a.textval.readonly=false;     } } //  End -->       READONLY TEXTBOX      
    No Yes          TEXTBOX         if (document.a.radiobtn .checked) ....
  19. Need To Hack An Admin Account On Xp... No Problem!
    It's so easy to hack an account you'll be amazed (61)
    Well recently one of my good girl that is a friend got a laptop from her dad. Her dad does websites
    so the laptop was new and worked fine, but needed to be defraged. The one problem, her nor her dad
    knew the admin password. I told her to post her question on Trap 17 and it got answered with in
    minutes. All you have to do is these few steps: 1. Reboot 2. Before the windows logo comes up press
    F11 (Just start clicking it over and over again until the windows logo comes up.) 3. Just sit and
    let it do it's thing and when the login screen comes up click on the Admin icon....
  20. Photoshop Cropping Problem
    (7)
    All right. For most of my Photoshop work, I use Photoshop 6.0. Yes, I know it's old, but it
    gets the job done, not to mention I just don't have the money of Photoshop CS or Photoshop CS2
    right now. But I'm getting off topic. Anyways, a few months ago, when I went to crop a
    picture, it wouldn't crop all the way. It would crop to a certain point and then just stop and
    refused to go any further with the cropping box. It seems to only form squares and sometimes
    horizontal rectangles, but only to a certain extent. However, when I opened Adobe Photosho....
  21. XP Problem: Clicking On Folder Opens Search
    (4)
    I have no idea why, but for some reason whenever I click on a folder now it opens it as a search
    instead of just showing me the contents. Whenever I right click it, search is at the top of the tab
    in bold instead of open. Is there any way I can fix this? I have no idea what I did wrong. Sorry,
    I fixxed it.....
  22. Einstein Quiz
    Can you solve this problem? (30)
    Hi everybody; I want to ask the quiz written by Einstein last century.It is called Einstein's
    Riddle.Einstein said that 98% of the people in the world cannot solve his riddle. Are you among the
    other 2%?(Hint:It is really easy:) Hints: 1: There are 5 houses in 5 different colors 2: In each
    house lives a person with a different nationality. 3: These 5 owners drink a certain beverage, smoke
    a certain brand of cigar and keep a certain pet. 4: No owners have the same pet, smoke the same
    brand of cigar or drink the same drink. Further Details: a: The Brit lives in a re....
  23. Problem Accessing My Cpanel
    [solved] (9)
    Don't know if I'm in the right subforum for asking that question. But I really have a
    strange problem. Since a few days I started not to be able to access my cpanel with Internet
    Explorer. I keep getting 504 or 503 errors (remote page not available or not found). It's not
    due to astahost because I can reach my cpanel from my office's computer. Only home I cannot !
    Unfortunately, it's the place where I should use it. It behaves as if the 2082 service port was
    unavailable. Is there something in IE6 settings (under XP) preventing my PC to open something....
  24. ATI Video Card Problem! Need Help
    (5)
    Ok here is my problem. On a somewhat regular basis I get the following error listed on the BSOD:
    ati2dvag.dll stopped responding if this is the first time this has happened restart your computer,
    if not then contact the hardware manufacturer. Well I thought it might just be a driver error so I
    updated my ATI drivers to the latest but the problem still ensued. I then went to the web and found
    that others have had this problem and corrected it by changing the CPU to AGP controller to a PCI to
    PCI bridge, I did this but found that I had a major hit to my ingame video pr....
  25. Problem: I Need Urgent Help. Can't Boot.
    (9)
    Hi all. Thanks for reading this, and helping me... /unsure.gif' border='0'
    style='vertical-align:middle' alt='unsure.gif' /> I have a big problem - I must fix one computer
    for one of my important clients, but, everything seems to be fine, until you turn it on (really
    /rolleyes.gif' border='0' style='vertical-align:middle' alt='rolleyes.gif' /> ) ehm, anyway, when
    computer is turned ON, it boots and when it comes to login screen just blocks, and freezes, and
    there's nothing to do there. Sometimes I can manage to click on user to login, but then freezes
    again. .....
  26. MSN Help
    Problem (5)
    I have a problem with MSN search, I was under the impression that it followed link on my site, but
    for some reason it is finding pages that don't exsist on my forums, or really wierd ones, it
    hasn't read any posts, it just checks the login and registration pages and all sorts of wierd
    things... I am sure that the group that the bots are treated as have acess to the forums to read
    them, but they still don't check posts, it just comes every day and see's if my users
    long-in differently now... /laugh.gif' border='0' style='vertical-align:middle' alt='laugh....
  27. Mozilla Firefox And Runescape
    Problem I had with FFox and RScape. (10)
    When I tried to play Runescape in Mozilla's Free browser (Firefox), I couldn't. However,
    when I tried to play the game in Microsoft Internet Explorer, I could. It may be possible to play
    Runescape in Firefox by altering Firefox's settings, or it could just have been me or chance or
    something that caused me to have a problem.....
  28. Ip Problem
    ...With Halo Trial (8)
    I'm having IP problems when I host a Halo multiplayer game online. The problem is that Halo
    uses my network IP and I need it to use my computer's real IP. Is there a patch for this? If
    so, I need it. I'm sure that many other people have this problem too, because many people have
    home networks. Thanks, technick2....
  29. Error 406 - Problem In My Phpbb Forum
    Actually a problem with Apache (8)
    When I post the message in my forum contant the word "system" it can't work and said the HTTP
    error 406. I add three Mod : attach mod 2.3.11 , cash mod 2.2.2 , pay money mod 1.0.7 phpBB
    verison 2.0.12 my forum http://siuwing.astahost.com/testmod and then I also setup a model forum
    by cPanel , the error of posting also occur -> http://www.siuwing.astahost.com/testmod2/ the
    model forum havent adding any mod what is the problem ...? /sad.gif' border='0'
    style='vertical-align:middle' alt='sad.gif' /> ....
  30. Help! Problem With My Flash-Drive
    Sh17 happens .. (2)
    Story :: A was installing WinXP on PC B's Flash Drive (FD) was in the USB Slot. While the
    WindowsXP Setup is partitioning, 'A' realised that the light on the FD was blinking ..
    indicating activity so he plucked it out immediately. Now 'B's FD is corrupted .. I
    recovered almost all the data from the corrupted FD using Ontrack's EasyRecovery 6.0 .. It is
    the most amazing software ever developed .. it could virtually recover all data in a drive that had
    been formatted .. Alright .. now is the headache .. there is no way that I could get the drive ....

    1. Looking for vim, syntax, highlight, problem






*SIMILAR VIDEOS*
Searching Video's for vim, syntax, highlight, problem
advertisement




Vim Syntax Highlight Problem