How to run in vim plantuml on MacOsX? -
adapting instructions @ http://zbz5.net/sequence-diagrams-vim-and-plantuml, have in .vimrc file on macosx yosemite:
let g:plantuml_executable_script='java -jar /users/documents/plantuml.jar'
i have java installed correctly "java -version" gives version number.
in directory have uml file, diag.uml:
@startuml alice -> bob: test @enduml
when open vim, type ":" , type g, message saying "regular expression missing global". how run expression given let variable above?
g:plantuml_executable_script
name of variable containing command execute; don't need type name vim.
install the plugin mentioned in article; it'll use g:plantuml_executable_script
set makeprg
, , you'll able process plantuml file typing :make
in vim.
Comments
Post a Comment