Oblivion
0 of 0

File information

Last updated

Original upload

Created by

Ulthar Seramis and sandone

Uploaded by

UltharSeramis

Virus scan

Safe to use

10 comments

  1. KatsAwful
    KatsAwful
    • supporter
    • 17 kudos
    I've been using this for a while and have added missing functions to the highlighting and also added my own autocomplete through completefunc. I've uploaded these files as a standalone so the other few Vim Oblivion modders can use them: https://www.nexusmods.com/oblivion/mods/50024/

    Thanks for the original file, its been very useful!!!
  2. UltharSeramis
    UltharSeramis
    • member
    • 1 kudos


     
    In response to post #24221789. #24304399 is also a reply to the same post.


    Spoiler:  
    Show

    UltharSeramis wrote:

    sandone wrote: Thanks, Ulthar! And it appears to work as you said if I place it in the plugins directory (if I open the sample .obl file, it will do proper syntax highlighting). Maybe the Mint/Ubuntu builds of Vim are a little different, I'm not sure. If you'd like and I have time, perhaps I could help add to it, but I'm sure it's not that simple. I do have a folder with every OBSE plugin that I could find though, for the sake of knowing what I could use for what if the situation came up while modding XD


    Hi again Ulthar,

    I've added every function from every OBSE plugin I know of, dumped from the obse_loader.log and obse_editor.log. If you're interested, I can send you the obse.vim file for you to look over (I simply took what you made and added functions in the same format with "syn keyword" and "hi def link ... Function")

    Razzy
     


    Hi,
     
    cool thing. Just send me a PM (hope it works). I can then take a look over the file. If everything is OK I will update the plugin (with credits for your work, of course).
     
    UltharSeramis
    1. sandone
      sandone
      • member
      • 6 kudos
      Okay, it's sent to you. Hopefully you'll see it soon. Sorry for not noticing your reply earlier and thank you so much for your patience!
  3. UltharSeramis
    UltharSeramis
    • member
    • 1 kudos
    Hi sandone,

    thanks for endorsing my little plugin.
    The folder "ftdetect" may not exist after installing vim. Its purpose is to automatically execute vim-scripts to set the filetype of a certain file. In this case, if you open up a file with the ".obl"-extension in vim, it will automatically set the correct filetype, so the correct syntax highlighting will be applied. This folder actually isn't really necessary, but without it you have to set the filetype manually.
    I may add highlighting for OBSE plugins, but at the moment I do not have enough time to do it. When having a bit more free time, I'll add them.

    Greetings,
    Ulthar Seramis
    1. sandone
      sandone
      • member
      • 6 kudos
      Thanks, Ulthar! And it appears to work as you said if I place it in the plugins directory (if I open the sample .obl file, it will do proper syntax highlighting). Maybe the Mint/Ubuntu builds of Vim are a little different, I'm not sure. If you'd like and I have time, perhaps I could help add to it, but I'm sure it's not that simple. I do have a folder with every OBSE plugin that I could find though, for the sake of knowing what I could use for what if the situation came up while modding XD
    2. sandone
      sandone
      • member
      • 6 kudos
      Hi again Ulthar,

      I've added every function from every OBSE plugin I know of, dumped from the obse_loader.log and obse_editor.log. If you're interested, I can send you the obse.vim file for you to look over (I simply took what you made and added functions in the same format with "syn keyword" and "hi def link ... Function")

      Razzy
  4. sandone
    sandone
    • member
    • 6 kudos
    I ran into a small bit of confusion when trying to install it (on Linux Mint): where your folder is "ftdetect", it seems to be "plugin" instead for me. The full directory would be (if installed through apt) /usr/share/vim/vim74/plugin/ and /usr/share/vim/vim74/syntax
    Would you be willing to add (though it's not necessary) syntax highlighting for other methods and variables from other OBSE plugins? (e.g. CameraCommands, NIFSE, Blockhead, Oblivion EAX, etc.) I know it's probably a bit of work to go through the documentation and add more. Thank you very much for this though, it will help a lot when I try to write scripts ^_^
  5. alphaniner
    alphaniner
    • member
    • 1 kudos
    This is brilliant, thanks so much for making it! You should consider uploading it to vim.org though. I wasn't expecting to find such a thing here and only came across it by accident.
  6. UltharSeramis
    UltharSeramis
    • member
    • 1 kudos
    Hi, rifter.

    I'm glad you like what i made.
    You mentioned a good point (I totally forgot the OBSE types). I will add them as soon as possible (if I found the time maybe even today).

    Greatings, UltharSeramis
  7. rifter
    rifter
    • supporter
    • 0 kudos
    I've been looking for something like this for awhile, thanks for making it. Are there any plans for highlighting the obse variable types, like string_var and int?