feat: check OS and disable tabnine on linux aarch64
This commit is contained in:
parent
d09205f6e6
commit
8cca88e4e2
4 changed files with 70 additions and 32 deletions
|
|
@ -1 +1,17 @@
|
|||
return { 'Exafunction/codeium.vim' }
|
||||
local uname = vim.loop.os_uname()
|
||||
local sysname = uname.sysname
|
||||
local machine = uname.machine
|
||||
|
||||
local enableCodeium = true
|
||||
|
||||
-- Check if the system is Linux and the machine is aarch64
|
||||
if sysname == "Linux" and machine == "aarch64" then
|
||||
-- Disable cmp-tabnine plugin
|
||||
enableCodeium = false
|
||||
end
|
||||
|
||||
|
||||
return {
|
||||
'Exafunction/codeium.vim',
|
||||
enabled = enableCodeium
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue