init
This commit is contained in:
commit
b3dba4542f
44 changed files with 1596 additions and 0 deletions
57
home/.config/nvim/lua/plugins.lua
Normal file
57
home/.config/nvim/lua/plugins.lua
Normal file
|
@ -0,0 +1,57 @@
|
|||
-- 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",
|
||||
lazypath,
|
||||
})
|
||||
end
|
||||
|
||||
vim.opt.rtp:prepend(lazypath)
|
||||
|
||||
require("lazy").setup({
|
||||
-- Core
|
||||
{ "nvim-lua/plenary.nvim" },
|
||||
{
|
||||
"nvim-telescope/telescope.nvim",
|
||||
tag = "0.1.5",
|
||||
lazy = false
|
||||
},
|
||||
|
||||
-- LSP and Autocomplete
|
||||
{ "neovim/nvim-lspconfig" },
|
||||
{ "hrsh7th/nvim-cmp" },
|
||||
{ "hrsh7th/cmp-nvim-lsp" },
|
||||
{ "hrsh7th/cmp-buffer" },
|
||||
{ "hrsh7th/cmp-path" },
|
||||
{ "hrsh7th/cmp-cmdline" },
|
||||
{ "hrsh7th/cmp-vsnip" },
|
||||
{ "hrsh7th/vim-vsnip" },
|
||||
|
||||
-- Treesitter
|
||||
{ "nvim-treesitter/nvim-treesitter", build = ":TSUpdate" },
|
||||
|
||||
-- Appearance
|
||||
{ "tomasiser/vim-code-dark" },
|
||||
{ "vim-airline/vim-airline" },
|
||||
{ "vim-airline/vim-airline-themes" },
|
||||
|
||||
-- File Explorer / Git / Misc
|
||||
{ "preservim/nerdtree" },
|
||||
{ "tpope/vim-fugitive" },
|
||||
{ "rust-lang/rust.vim" },
|
||||
{ "ray-x/go.nvim" },
|
||||
{ "vim-syntastic/syntastic" },
|
||||
{ "tokorom/syntastic-swiftlint.vim" },
|
||||
})
|
||||
|
||||
vim.api.nvim_create_autocmd("User", {
|
||||
pattern = "LazyDone",
|
||||
callback = function()
|
||||
vim.cmd("colorscheme codedark")
|
||||
end,
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue