Change Markdown snippets, add verilog to build function

This commit is contained in:
Yannick Reiß 2023-09-01 15:52:10 +02:00
parent c6bedc0e98
commit 480c242895
No known key found for this signature in database
GPG Key ID: 5A3AF456F0A0338C
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -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