kunzaatko / nvim-dots

NeoVim configuration written in Lua, that strives to be well organised, non-bloated but functional and well documented.
5 stars 0 forks source link

Add conditional `&` signs in the `eqa` snippet #12

Open kunzaatko opened 3 years ago

kunzaatko commented 3 years ago

Add the & sign automatically, when hitting forward trigger, but removing it when hitting it again when leaving the field empty. Same could be done with the pmat snippet and others. This could help from an example in UltiSnips repo