Change Markdown snippets, add verilog to build function
This commit is contained in:
parent
c6bedc0e98
commit
480c242895
|
@ -1,5 +1,5 @@
|
||||||
snippet link "Link to something"
|
snippet link "Link to something"
|
||||||
[${1:${VISUAL:Text}}](${3:http://schnick.duckdns.org}})$0
|
[${1:${VISUAL:Text}}](${3})$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet img "Image"
|
snippet img "Image"
|
||||||
|
@ -44,4 +44,3 @@ endsnippet
|
||||||
snippet ,m "Math equation" A
|
snippet ,m "Math equation" A
|
||||||
\$\$ $1 \$\$ $0
|
\$\$ $1 \$\$ $0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
|
|
@ -89,6 +89,8 @@ function! Build()
|
||||||
execute 'cargo run'
|
execute 'cargo run'
|
||||||
elseif l:filetype == 'S'
|
elseif l:filetype == 'S'
|
||||||
execute 'make'
|
execute 'make'
|
||||||
|
elseif l:filetype == 'verilog'
|
||||||
|
execute 'verilator --binary %'
|
||||||
else
|
else
|
||||||
echo "Unsupported file type: " . l:filetype
|
echo "Unsupported file type: " . l:filetype
|
||||||
endif
|
endif
|
||||||
|
|
Loading…
Reference in New Issue