my-nvim-config/laptop/plugins.lua

56 lines
1.6 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
2024-03-22 23:41:13 -05:00
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)
-- Load plugin via paq-nvim
2024-03-22 13:02:23 -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",
-- Plugin for lean
"julian/lean.nvim",
-- LSP related plugins
"neovim/nvim-lspconfig",
"nvim-lua/plenary.nvim",
2024-03-22 23:41:13 -05:00
"hrsh7th/nvim-cmp", -- For LSP completion
2024-03-19 03:59:14 -05:00
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-buffer",
2024-03-22 23:41:13 -05:00
"hrsh7th/cmp-omni", -- For LaTeX completion
2024-03-19 03:59:14 -05:00
"hrsh7th/cmp-path",
"hrsh7th/cmp-cmdline",
2024-03-22 23:41:13 -05:00
"SirVer/ultisnips", -- For snippets
2024-03-19 03:59:14 -05:00
-- Support programming terms
2024-03-22 23:41:13 -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
-- Rust tools
"simrat39/rust-tools.nvim",
-- Automatically add bracket pairs
"windwp/nvim-autopairs",
-- Syntax highlighting for Fish scripts
"khaveesh/vim-fish-syntax",
-- Plugin for LaTeX
"lervag/vimtex",
-- Formatter
"stevearc/conform.nvim",
2024-03-20 17:55:18 -05:00
"kylechui/nvim-surround",
2024-03-22 23:41:13 -05:00
"junegunn/fzf",
"junegunn/fzf.vim",
2024-03-22 13:02:23 -05:00
})