Files
tacker/vagrant/devstack/roles/centos-stream9/controller/templates/nvim/lua/plugins-setup.lua
Yasufumi Ogawa 065ec170f5 [WIP] CentOS9 support for tacker installer
CentOS/RHEL/Rocky Linux 9 have been added instead of 8 to the supported
Linux distros in devstack[1]. So, support CentOS9 for the installer.

[1] https://docs.openstack.org/devstack/latest/

Signed-off-by: Yasufumi Ogawa <yasufum.o@gmail.com>
Change-Id: I2edcbc2ebe48a6ca4b3f6e69bc36b4253c41205b
2023-09-22 01:23:32 +00:00

81 lines
1.6 KiB
Lua

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)
local plugins = {
{ "neoclide/coc.nvim", branch = "release", build = "yarn install --frozen-lockfile" },
{ "bluz71/vim-nightfly-colors", name = "nightfly", lazy = true, priority = 1000 },
{
"nvim-tree/nvim-tree.lua", version = "*",
dependencies = {
"nvim-tree/nvim-web-devicons",
},
config = function()
require("nvim-tree").setup {}
end,
},
-- fuzzy finding
{
'nvim-telescope/telescope.nvim', tag = '0.1.1',
dependencies = { 'nvim-lua/plenary.nvim' }
},
{
"nvim-telescope/telescope-fzf-native.nvim",
build = "make",
},
-- completion
{
"hrsh7th/nvim-cmp",
dependencies = {
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
}
},
-- snippet
{
"L3MON4D3/LuaSnip",
"saadparwaiz1/cmp_luasnip",
"rafamadriz/friendly-snippets",
},
-- treesitter
{
"nvim-treesitter/nvim-treesitter",
run = function()
require("nvim-treesitter.install").update({ with_sync = true })
end,
},
-- auto closing
{
"windwp/nvim-autopairs",
"windwp/nvim-ts-autotag",
},
"lewis6991/gitsigns.nvim",
"nvim-lualine/lualine.nvim",
"numToStr/Comment.nvim",
"tpope/vim-surround",
"vim-scripts/ReplaceWithRegister",
}
require("lazy").setup(plugins)