Autosave in Markdown
This commit is contained in:
parent
77bba8c263
commit
1ceb2e0e4a
|
@ -1,4 +1,4 @@
|
||||||
snippet hello "Hello World"
|
snippet hello "Hello World"
|
||||||
Hallo
|
Hallo
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
@ -357,3 +357,13 @@ if ( fflush(stdout) ) {
|
||||||
exit(EXIT_FAILURE);
|
exit(EXIT_FAILURE);
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet switch "Classic C switch statement" b
|
||||||
|
switch(${1:Expression}) {
|
||||||
|
case $3:
|
||||||
|
$4
|
||||||
|
break;$5
|
||||||
|
default:
|
||||||
|
$2
|
||||||
|
}$0
|
||||||
|
endsnippet
|
||||||
|
|
|
@ -73,3 +73,7 @@ endsnippet
|
||||||
snippet regflit "reg_idx from literal" iA
|
snippet regflit "reg_idx from literal" iA
|
||||||
std_logic_vector(to_unsigned('${1:Literal}', reg_adr_size));
|
std_logic_vector(to_unsigned('${1:Literal}', reg_adr_size));
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet fillvec "Stdout to fill a vector" A
|
||||||
|
(others => '0')
|
||||||
|
endsnippet
|
||||||
|
|
|
@ -41,3 +41,6 @@ highlight Normal guibg=none
|
||||||
highlight NonText guibg=none
|
highlight NonText guibg=none
|
||||||
highlight Normal ctermbg=none
|
highlight Normal ctermbg=none
|
||||||
highlight NonText ctermbg=none
|
highlight NonText ctermbg=none
|
||||||
|
|
||||||
|
" Autocmd safe on markdown
|
||||||
|
autocmd! CursorHold,CursorHoldI *.md w
|
||||||
|
|
Loading…
Reference in New Issue