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"
|
||||
[${1:${VISUAL:Text}}](${3:http://schnick.duckdns.org}})$0
|
||||
[${1:${VISUAL:Text}}](${3})$0
|
||||
endsnippet
|
||||
|
||||
snippet img "Image"
|
||||
|
@ -44,4 +44,3 @@ endsnippet
|
|||
snippet ,m "Math equation" A
|
||||
\$\$ $1 \$\$ $0
|
||||
endsnippet
|
||||
|
||||
|
|
|
@ -89,6 +89,8 @@ function! Build()
|
|||
execute 'cargo run'
|
||||
elseif l:filetype == 'S'
|
||||
execute 'make'
|
||||
elseif l:filetype == 'verilog'
|
||||
execute 'verilator --binary %'
|
||||
else
|
||||
echo "Unsupported file type: " . l:filetype
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue