45 lines
834 B
Lua
45 lines
834 B
Lua
local plugins = {
|
|
'rebelot/kanagawa.nvim',
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
'kyazdani42/nvim-web-devicons',
|
|
|
|
'kylechui/nvim-surround',
|
|
|
|
{
|
|
'ibhagwan/fzf-lua',
|
|
config = function()
|
|
require('fzf-lua').setup({'skim'})
|
|
end
|
|
},
|
|
|
|
'neovim/nvim-lspconfig',
|
|
'hrsh7th/nvim-cmp',
|
|
'hrsh7th/cmp-nvim-lsp',
|
|
'hrsh7th/cmp-path',
|
|
|
|
'rust-lang/rust.vim',
|
|
|
|
{
|
|
'windwp/nvim-autopairs',
|
|
event = 'InsertEnter',
|
|
opts={},
|
|
},
|
|
|
|
}
|
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
vim.fn.system({
|
|
"git",
|
|
"clone",
|
|
"--filter=blob:none",
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
"--branch=stable", -- latest stable release
|
|
lazypath,
|
|
})
|
|
end
|
|
vim.opt.rtp:prepend(lazypath)
|
|
|
|
require("lazy").setup(plugins, opts)
|