diff --git a/README.md b/README.md index 305b86b..5fd866b 100644 --- a/README.md +++ b/README.md @@ -138,6 +138,23 @@ lua <", function() + if require("tabnine.keymaps").has_suggestion() then + return require("tabnine.keymaps").accept_suggestion() + elseif require("luasnip").jumpable(1) then + return require("luasnip").jump(1) + else + return "" + end +end, { expr = true }) +``` + ## Activate Tabnine Pro - `:TabnineHub` - to open Tabnine Hub and log in to your account