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,5 +1,7 @@
" see :help digraphs
" these digraphs are reminiscent of canadian french keyboard layout
if exists("*digraph_setlist")
call digraph_setlist([
\["'a", 'à'],
\["'e", 'è'],
@ -25,3 +27,4 @@ call digraph_setlist([
\["+-", '†'],
\["m-", '—'],
\])
end