1. 편집 > StartUp Settings 에 아래 추가
au BufNewFile,BufRead *.mxml set filetype=mxml
au BufNewFile,BufRead *.as set filetype=actionscript
syntax on
2. 아래 두개의 파일을 C:\Program Files\Vim\vimfiles\syntax 에 복사
actionscript.vim
mxml.vim
웹에 올릴 경우는 TOHtml 활용하면 끝~

* 출처: http://seancode.blogspot.com/2008/01/flex-mxml-highlighting-in-vim.html
au BufNewFile,BufRead *.mxml set filetype=mxml
au BufNewFile,BufRead *.as set filetype=actionscript
syntax on
2. 아래 두개의 파일을 C:\Program Files\Vim\vimfiles\syntax 에 복사
actionscript.vim
mxml.vim
웹에 올릴 경우는 TOHtml 활용하면 끝~

* 출처: http://seancode.blogspot.com/2008/01/flex-mxml-highlighting-in-vim.html
태그 : gvim, actionscript

덧글