1
0
Fork 0
mirror of synced 2024-11-12 20:28:58 -05:00

Replace Unicode dashes with ASCII ones

This commit is contained in:
Wu Tingfeng 2022-12-09 04:40:28 +08:00
parent 2b653aa950
commit e4b8bdfb5a
No known key found for this signature in database
3 changed files with 3 additions and 3 deletions

View file

@ -10,7 +10,7 @@ function! ale_linters#eruby#erb#GetCommand(buffer) abort
" Rails-flavored eRuby does not comply with the standard as understood by
" ERB, so we'll have to do some substitution. This does not reduce the
" effectiveness of the linterthe translated code is still evaluated.
" effectiveness of the linter-the translated code is still evaluated.
return 'ruby -r erb -e ' . ale#Escape('puts ERB.new($stdin.read.gsub(%{<%=},%{<%}), nil, %{-}).src') . '< %t | ruby -c'
endfunction

View file

@ -285,7 +285,7 @@ snippet fnt "Footnote or Citation" i
.. [$1] ${2:Reference}
endsnippet
# Only for Nikola Static Site Generator
# Only for Nikola - Static Site Generator
snippet chart "Pygal chart for Nikola" b
.. chart:: $1`!p snip.rv=complete(t[1], CHART_TYPES)`
:title: '${2:Browser usage evolution (in %)}'

View file

@ -74,7 +74,7 @@ support:
> How do I surround without adding a space?
Only the opening brackets—`[`, `{`, and `(`add a space. Use a closing
Only the opening brackets (`[`, `{`, and `(`) add a space. Use a closing
bracket, or the `b` (`(`) and `B` (`{`) aliases.
## Contributing