it works
This commit is contained in:
parent
5a9fd14fb1
commit
b83fc9b2cd
|
@ -1,2 +1,3 @@
|
||||||
require("juliuswaldmann.remap")
|
require("juliuswaldmann.remap")
|
||||||
require("juliuswaldmann.set")
|
require("juliuswaldmann.set")
|
||||||
|
require("juliuswaldmann.lazynvim")
|
||||||
|
|
|
@ -0,0 +1,87 @@
|
||||||
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
||||||
|
if not (vim.uv or 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 lazy = require('lazy')
|
||||||
|
|
||||||
|
return lazy.setup({
|
||||||
|
-- Packer can manage itself
|
||||||
|
'wbthomason/packer.nvim',
|
||||||
|
|
||||||
|
-- Telescope with dependencies
|
||||||
|
'nvim-lua/plenary.nvim',
|
||||||
|
'nvim-telescope/telescope.nvim',
|
||||||
|
'nvim-telescope/telescope-file-browser.nvim',
|
||||||
|
|
||||||
|
-- Rose Pine theme
|
||||||
|
{
|
||||||
|
'rose-pine/neovim',
|
||||||
|
as = 'rose-pine',
|
||||||
|
config = function()
|
||||||
|
vim.cmd('colorscheme rose-pine')
|
||||||
|
end
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Treesitter configurations and related tools
|
||||||
|
{
|
||||||
|
"nvim-treesitter/nvim-treesitter",
|
||||||
|
build = ":TSUpdate",
|
||||||
|
config = function ()
|
||||||
|
local configs = require("nvim-treesitter.configs")
|
||||||
|
|
||||||
|
configs.setup({
|
||||||
|
ensure_installed = {},
|
||||||
|
sync_install = false,
|
||||||
|
highlight = { enable = true },
|
||||||
|
indent = { enable = true },
|
||||||
|
})
|
||||||
|
end
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Other useful plugins
|
||||||
|
'theprimeagen/harpoon',
|
||||||
|
'mbbill/undotree',
|
||||||
|
'tpope/vim-fugitive',
|
||||||
|
'tpope/vim-vinegar',
|
||||||
|
|
||||||
|
{
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
|
||||||
|
dependencies = {
|
||||||
|
"williamboman/mason.nvim",
|
||||||
|
"williamboman/mason-lspconfig.nvim",
|
||||||
|
"neovim/nvim-lspconfig",
|
||||||
|
'hrsh7th/nvim-cmp',
|
||||||
|
'hrsh7th/cmp-nvim-lsp',
|
||||||
|
'L3MON4D3/LuaSnip'
|
||||||
|
},
|
||||||
|
|
||||||
|
config = function()
|
||||||
|
local lspconfig = require("lspconfig")
|
||||||
|
local mason = require("mason")
|
||||||
|
|
||||||
|
mason.setup()
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
-- Auto pairs
|
||||||
|
{
|
||||||
|
"windwp/nvim-autopairs",
|
||||||
|
config = function()
|
||||||
|
require("nvim-autopairs").setup {}
|
||||||
|
end
|
||||||
|
},
|
||||||
|
|
||||||
|
-- Uncomment these lines if you want to use the plugins
|
||||||
|
-- use 'nvim-tree/nvim-tree.lua'
|
||||||
|
-- use 'nvim-tree/nvim-web-devicons'
|
||||||
|
-- use {'github/copilot.vim', branch = 'release' }
|
||||||
|
})
|
Loading…
Reference in New Issue