This commit is contained in:
jay 2023-03-04 15:36:06 +08:00
parent 0e96acc8a9
commit 69b457fa02
1 changed files with 11 additions and 5 deletions

View File

@ -51,11 +51,6 @@ Plug 'ctrlpvim/ctrlp.vim'
Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' }
Plug 'junegunn/fzf.vim'
" defx file explorer
" require python package pynvim
" install `pip3 install --user pynvim`
" Plug 'Shougo/defx.nvim', { 'do': ':UpdateRemotePlugins' }
Plug 'kyazdani42/nvim-web-devicons' " for file icons
Plug 'kyazdani42/nvim-tree.lua'
@ -76,6 +71,8 @@ Plug 'terryma/vim-multiple-cursors'
Plug 'lukas-reineke/indent-blankline.nvim'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
Plug 'codota/tabnine-nvim', { 'do': './dl_binaries.sh' }
" temp plugin
Plug 'tpope/vim-surround'
Plug 'buoto/gotests-vim'
@ -322,6 +319,15 @@ let g:fzf_colors =
let g:fzf_history_dir = '~/.local/share/fzf-history'
lua << EOF
require('tabnine').setup({
disable_auto_comment=true,
accept_keymap="<Tab>",
dismiss_keymap = "<C-]>",
debounce_ms = 600,
suggestion_color = {gui = "#808080", cterm = 244},
exclude_filetypes = {"TelescopePrompt"}
})
vim.opt.list = true
vim.opt.listchars:append "eol:↴"