19 lines
778 B
Text
19 lines
778 B
Text
|
(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}))
|