my-nvim-config/vps/config/plugins.lua

61 lines
1.7 KiB
Lua
Raw Normal View History

2024-03-22 13:02:23 -05:00
-- Automatically bootstrap lazy.nvim
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,
})
2024-03-19 03:59:14 -05:00
end
2024-03-22 13:02:23 -05:00
vim.opt.rtp:prepend(lazypath)
2024-03-22 13:02:23 -05:00
-- Load plugins via lazy.nvim
2024-03-26 16:47:12 -05:00
require("lazy").setup(
{
-- Use lualine for statusbar
"nvim-lualine/lualine.nvim",
"nvim-tree/nvim-web-devicons",
2024-03-19 03:59:14 -05:00
-- Auto commenting per filetype
"numToStr/Comment.nvim",
-- Give option to save files using sudo, if needed
"lambdalisue/suda.vim",
-- Auto toggle for number mode when vim isn't focused
"sitiom/nvim-numbertoggle",
2024-03-26 01:33:00 -05:00
-- Treesitter
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
-- LSP related plugins
"neovim/nvim-lspconfig",
{
"hrsh7th/nvim-cmp", -- For LSP completion
event = "InsertLeave",
dependencies = {
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-path",
"hrsh7th/cmp-cmdline",
}
},
2024-03-19 03:59:14 -05:00
-- Support programming terms
2024-03-22 13:02:23 -05:00
{ "psliwka/vim-dirtytalk", build = ":DirtytalkUpdate" },
2024-03-19 03:59:14 -05:00
-- vim-moonfly theme
2024-03-22 13:02:23 -05:00
{ "bluz71/vim-moonfly-colors", as = "moonfly" },
2024-03-19 03:59:14 -05:00
-- Automatically add bracket pairs
"windwp/nvim-autopairs",
2024-03-19 15:39:14 -05:00
-- Syntax highlighting for Caddyfile
"isobit/vim-caddyfile",
2024-03-19 03:59:14 -05:00
-- Syntax highlighting for Fish scripts
"khaveesh/vim-fish-syntax",
2024-03-20 17:55:18 -05:00
"kylechui/nvim-surround",
2024-03-28 01:57:58 -05:00
"ibhagwan/fzf-lua",
2024-03-26 17:14:42 -05:00
"karb94/neoscroll.nvim",
2024-03-26 16:47:12 -05:00
},
{
lockfile = vim.fn.stdpath("config") .. "/config/lazy-lock.json",
install = { missing = true },
}
)
2024-03-19 15:39:14 -05:00