From d1cebc7e244188a26ca36aacd7aff9c2b74fd724 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Mon, 2 Aug 2021 22:44:37 -0700 Subject: [PATCH] Add tabnine and a new alias --- home.nix | 1 + programs/neovim/init.lua | 2 ++ 2 files changed, 3 insertions(+) diff --git a/home.nix b/home.nix index 3cc8f97..f931b1d 100644 --- a/home.nix +++ b/home.nix @@ -162,6 +162,7 @@ v="nvim"; tabninecfg="vc /Users/salar/Library/Preferences/TabNine/TabNine.toml"; sshfre1="ssh salar@fre1.softinio.net"; + sshfre2="ssh salar@fre2.softinio.net"; }; }; diff --git a/programs/neovim/init.lua b/programs/neovim/init.lua index d0550dc..d017758 100644 --- a/programs/neovim/init.lua +++ b/programs/neovim/init.lua @@ -28,6 +28,7 @@ local function load_plugins() use { 'lewis6991/gitsigns.nvim', requires = 'nvim-lua/plenary.nvim' } use { 'TimUntersberger/neogit', requires = { { 'nvim-lua/plenary.nvim' }, { 'sindrets/diffview.nvim' } } } use { 'hrsh7th/nvim-compe', requires = 'L3MON4D3/LuaSnip' } -- Autocompletion plugin + use {'tzachar/compe-tabnine', run='./install.sh', requires = 'hrsh7th/nvim-compe'} use 'kevinhwang91/nvim-bqf' use 'mfussenegger/nvim-dap' use 'sheerun/vim-polyglot' @@ -413,6 +414,7 @@ _G.load_config = function() buffer = true, luasnip = true, orgmode = true, + tabnine = true, }, }