mirror of
https://github.com/pnx/dotfiles
synced 2026-06-16 03:14:55 +02:00
Update nvim config
This commit is contained in:
parent
d7a1770460
commit
461e0cc49a
27 changed files with 426 additions and 2999 deletions
41
nvim/lua/plugins/init.lua
Normal file
41
nvim/lua/plugins/init.lua
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
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)
|
||||
|
||||
require("lazy").setup({
|
||||
|
||||
-- Highlight
|
||||
--{ import = "plugins.kodex" },
|
||||
{ import = "plugins.colortheme-kanagawa" },
|
||||
|
||||
-- Status line
|
||||
{ import = "plugins.lualine" },
|
||||
|
||||
-- Fuzzy finder
|
||||
{ import = "plugins.telescope" },
|
||||
|
||||
-- Keybind helper
|
||||
-- { import = "plugins.which-key" },
|
||||
|
||||
-- Treesitter
|
||||
{ import = "plugins.treesitter" },
|
||||
|
||||
-- Complete
|
||||
-- { import = "plugins.cmp" },
|
||||
|
||||
-- LSP
|
||||
{ import = "plugins.lsp" },
|
||||
|
||||
-- Git changes in gutter
|
||||
--{ import = "plugins.gitsigns" },
|
||||
})
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue