nvim: turn off digraphs when set digraph list not supported
This commit is contained in:
parent
5ea357fd2c
commit
f83df2f5a2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user