1 USING: editors editors.vim io.pathnames io.standard-paths kernel
7 INSTANCE: macvim vim-base
9 editor-class get-global dup [ vim? not ] when
10 [ macvim editor-class set-global ] unless
12 : find-macvim-bundle-path ( -- path/f )
13 "org.vim.MacVim" find-native-bundle [
14 "Contents/MacOS/Vim" append-path
19 M: macvim find-vim-path find-macvim-bundle-path ;
23 M: macvim editor-detached? t ;