emacs
http://jblevins.org/log/f90-mode
~/.emacsに以下を書き加える
(autoload 'f90-mode "f90" "Fortran 90 mode" t)
(add-hook 'f90-mode-hook 'my-f90-mode-hook)
(defun my-f90-mode-hook ()
(setq f90-font-lock-keywords f90-font-lock-keywords-3)
(abbrev-mode 1) ; turn on abbreviation mode
(turn-on-font-lock) ; syntax highlighting
(auto-fill-mode 0)) ; turn off auto-filling
キーワードの短縮入力
バッククォート (`)の後に省略形を入力し、スペースを押す
省略形 キーワード
al allocate
ab allocatable
c character
cl close
cx complex
cn contains
cx complex
cn contains
cy cycle
de deallocate
di dimension
dp double precision
dw do while
el else
eli else if
elw elsewhere
fl forall
fo format
fu function
fa .false.
im implicit none
in include
i integer
it intent
if interface
lo logical
mo module
nu nullify
op optional
pa parameter
po pointer
pr print
pi private
pm program
pu public
r real
rc recursive
rt return
se select
su subroutine
ta target
tr .true.
t type
wh where
wr write