zapling / plantuml.nvim Goto Github PK
View Code? Open in Web Editor NEWnvim plugin for working with PlantUML files
nvim plugin for working with PlantUML files
Thanks for the work.
I would like to suggest a feature.
To parameterize the 'tmp' directory and configure it via calling the setup() function.
Error executing Lua callback: Vim:E482: Can't open file /tmp/plantuml_nvim/index.html for writing: no such file or directory
stack traceback:
[C]: in function 'writefile'
...im/site/pack/packer/start/plantuml.nvim/lua/plantuml.lua:44: in function 'setup_tmp_dir'
...im/site/pack/packer/start/plantuml.nvim/lua/plantuml.lua:60: in function 'entrypoint'
...im/site/pack/packer/start/plantuml.nvim/lua/plantuml.lua:74: in function <...im/site/pack/packer/start/plantuml.nvim/lua/plantuml.lua:74>
local function setup_tmp_dir()
vim.fn.jobstart('[[ ! -d /tmp/plantuml_nvim ]] && mkdir /tmp/plantuml_nvim')
vim.fn.writefile(vim.split(index_html, '\n'), '/tmp/plantuml_nvim/index.html')
end
... which then can get configured via calling the setup() function?
by the way, here is my plugin configuration smippet:
use {
'zapling/plantuml.nvim',
requires = { 'nvim-lua/plenary.nvim' },
config = function()
require('plantuml').setup()
end
}
... and my version on macos
NVIM v0.9.0
Build type: Release
LuaJIT 2.1.0-beta3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.