Jump to content
Sign in to follow this  
ivop

Vim syntax highlighting for Atasm

Recommended Posts

See subject. Put m65.vim in $HOME/.vim/syntax (create the directory if necessary) and add the following to your .vimrc file

 

augroup filetype
au! BufRead,BufNewFile *.m65	 set filetype=m65
augroup END

m65.vim.zip

  • Like 1

Share this post


Link to post
Share on other sites

See subject. Put m65.vim in $HOME/.vim/syntax (create the directory if necessary) and add the following to your .vimrc file

 

augroup filetype
au! BufRead,BufNewFile *.m65	 set filetype=m65
augroup END

 

Thanks for your work. Not that I have direct use for it, but I can use it as a basis for ca65.

ATM I am content with the standard "asm" syntax in VIM, however, making a perfect one for ca65 will be much better.

 

If you are interested, I have started some month ago a script to fold ".ifdef" statements. Was my first attempt in VIM scripting. I may look into improving it :)

 

I am really interested in how many use VIM for coding Atari-stuff. I am well aware that we have lots of coders using WUSDN, so VIM users stand up!

Share this post


Link to post
Share on other sites

Thanks for your reaction! Here's an updated version already. I have simplified some regexps and added string constants.

 

As for .ifdef folding, I do not really like to hide code out of view, but I imagine there are other people that might be interested in your script.

 

Regards,

Ivo

m65.vim.20121119-1902.zip

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...