-- Setup lazy.nvim
require("lazy").setup({
spec = {
- { "folke/tokyonight.nvim", config = function() vim.cmd.colorscheme "tokyonight" end },
{ import = "config.plugins" },
}
})
+if jit.os == "Linux" then
+ implementation = "prefer_rust_with_warning"
+elseif jit.os == "BSD" then
+ implementation = "lua"
+end
+
+
return {
{
'saghen/blink.cmp',
nerd_font_variant = 'mono'
},
- signature = { enabled = true }
+ signature = { enabled = true },
+ fuzzy = { implementation = implementation }
},
},
}
+if jit.os == "Linux" then
+ build = 'make'
+elseif jit.os == "BSD" then
+ build = 'gmake'
+end
+
return {
'nvim-telescope/telescope.nvim',
tag = '0.1.8',
dependencies = {
'nvim-lua/plenary.nvim',
- { 'nvim-telescope/telescope-fzf-native.nvim', build = 'make' }
+ { 'nvim-telescope/telescope-fzf-native.nvim', build = build }
},
config = function()
require('telescope').setup {
--- /dev/null
+if jit.os == "Linux" then
+ return { "folke/tokyonight.nvim", config = function() vim.cmd.colorscheme "tokyonight" end }
+elseif jit.os == "BSD" then
+ return { "shaunsingh/nord.nvim", config = function() vim.cmd.colorscheme "nord" end }
+end