nvim: turn off digraphs when set digraph list not supported

This commit is contained in:
dogeystamp 2024-03-02 21:24:26 -05:00
parent 5ea357fd2c
commit f83df2f5a2
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -1,6 +1,8 @@
" see :help digraphs
" these digraphs are reminiscent of canadian french keyboard layout
call digraph_setlist([
if exists("*digraph_setlist")
call digraph_setlist([
\["'a", 'à'],
\["'e", 'è'],
\["'u", 'ù'],
@ -19,9 +21,10 @@ call digraph_setlist([
\["[u", 'û'],
\])
" misc funny digraphs
call digraph_setlist([
" misc funny digraphs
call digraph_setlist([
\["++", '✝'],
\["+-", '†'],
\["m-", '—'],
\])
end