Skip to content

Commit

Permalink
feat(completion): add tabnine-nvim (AstroNvim#291)
Browse files Browse the repository at this point in the history
  • Loading branch information
mehalter authored and RayJameson committed Jun 20, 2023
1 parent 380d448 commit 19f3ea9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/astrocommunity/completion/tabnine-nvim/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# tabnine-nvim

**Repository:** https://github.com/codota/tabnine-nvim

Tabnine client for Neovim
8 changes: 8 additions & 0 deletions lua/astrocommunity/completion/tabnine-nvim/tabnine.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
return {
"codota/tabnine-nvim",
name = "tabnine",
build = vim.loop.os_uname().sysname == "Windows_NT" and "pwsh.exe -file .\\dl_binaries.ps1" or "./dl_binaries.sh",
cmd = { "TabnineStatus", "TabnineDisable", "TabnineEnable", "TabnineToggle" },
event = "User AstroFile",
opts = { accept_keymap = "<C-e>" },
}

0 comments on commit 19f3ea9

Please sign in to comment.