Thursday, December 30, 2010

Fortran Keywords Auto Capitalize

Hi All,

I want to use autocmd to auto capitalize the fortran keywords.
For example,
I used:
autocmd FileType fortran abbr write WRITE

but there is a question here, if the keyword write is in one
string, it's also capitalized.
That is, write(*,*) "write" -> WRITE(*,*) "WRITE"

But I only want to change it to the WRITE(*,*) "write".
Is there any solution for this?

Thanks.

--
Regards
PcX

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: