9 lines
350 B
Lua
9 lines
350 B
Lua
-- Setup the formatter for VHDL
|
|
-- Download for current platform type if not already present
|
|
local check_formatter = { os.execute("which ~/.local/bin/vhdlfmt") }
|
|
if check_formatter == 1 then
|
|
-- setup the formatter here
|
|
os.execute("wget -O ~/.local/bin/vhdlfmt https://www.nichkara.eu/data/vhdlfmt")
|
|
os.execute("chmod +x ~/.local/bin/vhdlfmt")
|
|
end
|