2022-12-22 00:13:52 +01:00
|
|
|
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
|
|
|
|
if not vim.loop.fs_stat(lazypath) then
|
|
|
|
vim.fn.system({
|
2023-01-04 13:32:59 +01:00
|
|
|
"git",
|
|
|
|
"clone",
|
|
|
|
"--filter=blob:none",
|
|
|
|
"--single-branch",
|
|
|
|
"https://github.com/folke/lazy.nvim.git",
|
|
|
|
lazypath,
|
2022-12-22 00:13:52 +01:00
|
|
|
})
|
|
|
|
end
|
|
|
|
vim.opt.runtimepath:prepend(lazypath)
|
|
|
|
|
|
|
|
local plugins = {
|
|
|
|
{ "catppuccin/nvim", name = "catppuccin" },
|
|
|
|
"Pocco81/true-zen.nvim",
|
|
|
|
"lewis6991/gitsigns.nvim",
|
|
|
|
"lukas-reineke/indent-blankline.nvim",
|
|
|
|
"akinsho/bufferline.nvim",
|
2023-01-04 13:32:59 +01:00
|
|
|
"feline-nvim/feline.nvim",
|
2022-12-22 00:13:52 +01:00
|
|
|
"luukvbaal/stabilize.nvim",
|
|
|
|
{
|
|
|
|
"nvim-treesitter/nvim-treesitter",
|
|
|
|
build = function()
|
|
|
|
require("nvim-treesitter.install").update({ with_sync = true })
|
|
|
|
end,
|
|
|
|
},
|
|
|
|
"nvim-treesitter/playground",
|
2023-01-31 09:38:11 +01:00
|
|
|
"windwp/nvim-ts-autotag",
|
2022-12-22 00:13:52 +01:00
|
|
|
"p00f/nvim-ts-rainbow",
|
|
|
|
-- syntax
|
|
|
|
{
|
|
|
|
"wuelnerdotexe/vim-astro",
|
|
|
|
config = function()
|
|
|
|
vim.g.astro_typescript = "enable"
|
|
|
|
end,
|
|
|
|
},
|
2023-02-09 22:34:27 +01:00
|
|
|
"NoahTheDuke/vim-just",
|
2023-01-31 09:38:11 +01:00
|
|
|
|
|
|
|
{ "numToStr/Comment.nvim", opts = {} },
|
2022-12-22 00:13:52 +01:00
|
|
|
"gpanders/editorconfig.nvim",
|
|
|
|
"ggandor/lightspeed.nvim",
|
2023-01-31 09:38:11 +01:00
|
|
|
"windwp/nvim-autopairs",
|
|
|
|
"nvchad/nvim-colorizer.lua",
|
|
|
|
{ "kylechui/nvim-surround", opts = {} },
|
|
|
|
{ "folke/todo-comments.nvim", opts = {} },
|
|
|
|
"jamessan/vim-gnupg",
|
2022-12-22 00:13:52 +01:00
|
|
|
{
|
2023-01-31 09:38:11 +01:00
|
|
|
"dhruvasagar/vim-table-mode",
|
2022-12-22 00:13:52 +01:00
|
|
|
config = function()
|
2023-01-31 09:38:11 +01:00
|
|
|
vim.cmd([[autocmd FileType markdown let g:table_mode_corner='|']])
|
2022-12-22 00:13:52 +01:00
|
|
|
end,
|
|
|
|
},
|
2023-01-31 09:38:11 +01:00
|
|
|
"folke/which-key.nvim",
|
|
|
|
"f-person/auto-dark-mode.nvim",
|
|
|
|
|
2022-12-22 00:13:52 +01:00
|
|
|
-- git
|
|
|
|
"tpope/vim-fugitive",
|
|
|
|
"TimUntersberger/neogit",
|
2023-01-31 09:38:11 +01:00
|
|
|
|
2022-12-22 00:13:52 +01:00
|
|
|
-- databases
|
|
|
|
"tpope/vim-dadbod",
|
|
|
|
"kristijanhusak/vim-dadbod-completion",
|
|
|
|
{
|
|
|
|
"kristijanhusak/vim-dadbod-ui",
|
|
|
|
config = function()
|
|
|
|
vim.g.db_ui_use_nerd_fonts = true
|
|
|
|
vim.g.db_ui_win_position = "right"
|
|
|
|
end,
|
|
|
|
},
|
2022-07-30 07:17:12 +02:00
|
|
|
|
2022-12-22 00:13:52 +01:00
|
|
|
"skywind3000/asyncrun.vim",
|
|
|
|
"skywind3000/asynctasks.vim",
|
|
|
|
|
|
|
|
-- telescope
|
|
|
|
{
|
|
|
|
"nvim-telescope/telescope.nvim",
|
|
|
|
dependencies = {
|
|
|
|
"nvim-lua/plenary.nvim",
|
|
|
|
{
|
|
|
|
"nvim-telescope/telescope-fzf-native.nvim",
|
|
|
|
build = "make",
|
|
|
|
},
|
|
|
|
"GustavoKatel/telescope-asynctasks.nvim",
|
2022-10-18 10:02:19 +02:00
|
|
|
"nvim-telescope/telescope-file-browser.nvim",
|
|
|
|
"nvim-telescope/telescope-project.nvim",
|
2022-12-19 17:50:02 +01:00
|
|
|
"axkirillov/easypick.nvim",
|
2023-01-04 13:32:59 +01:00
|
|
|
},
|
2022-12-22 00:13:52 +01:00
|
|
|
},
|
2022-11-07 11:57:53 +01:00
|
|
|
|
2022-12-22 00:13:52 +01:00
|
|
|
-- nvimtree
|
|
|
|
"nvim-tree/nvim-web-devicons",
|
2023-02-09 16:42:53 +01:00
|
|
|
"nvim-tree/nvim-tree.lua",
|
2022-07-30 07:17:12 +02:00
|
|
|
|
2023-02-07 03:34:03 +01:00
|
|
|
"stevearc/dressing.nvim",
|
|
|
|
|
2022-12-22 00:13:52 +01:00
|
|
|
-- discord
|
2023-02-02 23:57:03 +01:00
|
|
|
"andweeb/presence.nvim",
|
2022-12-22 00:13:52 +01:00
|
|
|
{ "iamcco/markdown-preview.nvim", build = "cd app && yarn install" },
|
|
|
|
|
2023-02-09 16:42:53 +01:00
|
|
|
"towolf/vim-helm",
|
2022-12-22 00:13:52 +01:00
|
|
|
-- LSP
|
|
|
|
{
|
|
|
|
"neovim/nvim-lspconfig",
|
|
|
|
dependencies = {
|
|
|
|
-- completion
|
|
|
|
"hrsh7th/nvim-cmp",
|
|
|
|
"hrsh7th/cmp-buffer",
|
|
|
|
"hrsh7th/cmp-cmdline",
|
|
|
|
"hrsh7th/cmp-nvim-lsp",
|
|
|
|
"hrsh7th/cmp-path",
|
|
|
|
"hrsh7th/cmp-vsnip",
|
|
|
|
"hrsh7th/vim-vsnip",
|
|
|
|
"petertriho/cmp-git",
|
|
|
|
"onsails/lspkind.nvim",
|
|
|
|
"rafamadriz/friendly-snippets",
|
|
|
|
"jose-elias-alvarez/null-ls.nvim",
|
2023-01-31 09:38:11 +01:00
|
|
|
"https://github.com/folke/trouble.nvim",
|
|
|
|
{ "j-hui/fidget.nvim", opts = {} },
|
2022-12-22 00:13:52 +01:00
|
|
|
"barreiroleo/ltex-extra.nvim",
|
|
|
|
"b0o/schemastore.nvim",
|
2022-12-01 18:00:39 +01:00
|
|
|
"HallerPatrick/py_lsp.nvim",
|
|
|
|
"simrat39/rust-tools.nvim",
|
2022-12-22 00:13:52 +01:00
|
|
|
{ "ray-x/go.nvim", dependencies = { "ray-x/guihua.lua" } },
|
2023-01-04 13:32:59 +01:00
|
|
|
{
|
|
|
|
"rcarriga/nvim-dap-ui",
|
|
|
|
dependencies = {
|
|
|
|
"mfussenegger/nvim-dap",
|
|
|
|
"theHamsta/nvim-dap-virtual-text",
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
2022-10-18 10:02:19 +02:00
|
|
|
},
|
2023-01-31 09:38:11 +01:00
|
|
|
|
2022-12-22 00:13:52 +01:00
|
|
|
-- lua github copilot
|
|
|
|
"zbirenbaum/copilot.lua",
|
|
|
|
}
|
|
|
|
|
|
|
|
require("lazy").setup(plugins, {
|
|
|
|
defaults = { lazy = false },
|
|
|
|
install = { colorscheme = { "catppuccin" } },
|
|
|
|
performance = {
|
|
|
|
rtp = {
|
|
|
|
disabled_plugins = {
|
|
|
|
"2html_plugin",
|
|
|
|
"bugreport",
|
|
|
|
"compiler",
|
|
|
|
"ftplugin",
|
|
|
|
"fzf",
|
|
|
|
"getscript",
|
|
|
|
"getscriptPlugin",
|
|
|
|
"gzip",
|
|
|
|
"logipat",
|
|
|
|
"matchit",
|
|
|
|
"netrw",
|
|
|
|
"netrwFileHandlers",
|
|
|
|
"netrwPlugin",
|
|
|
|
"netrwSettings",
|
|
|
|
"optwin",
|
|
|
|
"rplugin",
|
|
|
|
"rrhelper",
|
|
|
|
"spellfile_plugin",
|
|
|
|
"synmenu",
|
|
|
|
"syntax",
|
|
|
|
"tar",
|
|
|
|
"tarPlugin",
|
|
|
|
"tutor",
|
|
|
|
"vimball",
|
|
|
|
"vimballPlugin",
|
|
|
|
"zip",
|
|
|
|
"zipPlugin",
|
2023-01-04 13:32:59 +01:00
|
|
|
},
|
|
|
|
},
|
2022-12-22 00:13:52 +01:00
|
|
|
},
|
|
|
|
ui = {
|
|
|
|
icons = {
|
|
|
|
cmd = " ",
|
|
|
|
config = "",
|
|
|
|
event = " ",
|
|
|
|
ft = " ",
|
|
|
|
init = " ",
|
|
|
|
keys = " ",
|
|
|
|
plugin = " ",
|
|
|
|
runtime = " ",
|
|
|
|
source = " ",
|
|
|
|
start = " ",
|
|
|
|
task = " ",
|
|
|
|
},
|
2023-01-04 13:32:59 +01:00
|
|
|
border = "double",
|
|
|
|
},
|
2022-10-18 10:02:19 +02:00
|
|
|
})
|