1
0
Fork 0
dotfiles/home/config/nvim/plugins/cmp_tabnine.fnl

19 lines
778 B
Text
Raw Normal View History

2023-11-27 09:34:41 +00:00
(let [tabnine (require :cmp_tabnine)
tabnine-config (require :cmp_tabnine.config)
augroup (vim.api.nvim_create_augroup :NifocTabNine {:clear true})
aucmd vim.api.nvim_create_autocmd]
(tabnine-config:setup {:ignored_file_types {:markdown true :text true}})
(aucmd :BufRead {:callback #(tabnine:prefetch (vim.fn.expand "%:p"))
:pattern [:*.css
:*.html
:*.java
:*.js
:*.jsx
:*.kt
:*.php
:*.py
:*.rb
:*.ts
:*.tsx]
:group augroup}))