2023-01-14 04:05:17 +00:00
|
|
|
local lazy = require('lazy')
|
|
|
|
|
|
|
|
lazy.setup({
|
|
|
|
|
|
|
|
'lewis6991/impatient.nvim',
|
|
|
|
|
|
|
|
-------------------------------------------THEMES------------------------------------------
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'catppuccin/nvim',
|
2023-01-14 04:05:17 +00:00
|
|
|
lazy = false,
|
|
|
|
priority = 1000,
|
2023-01-29 02:08:14 +00:00
|
|
|
config = function()
|
2023-01-14 04:05:17 +00:00
|
|
|
require('plugins.catppuccin')
|
|
|
|
end
|
|
|
|
},
|
|
|
|
-------------------------------------------------------QOL---------------------------------
|
2023-09-18 07:20:52 +01:00
|
|
|
{
|
|
|
|
"zbirenbaum/copilot.lua",
|
|
|
|
cmd = "Copilot",
|
|
|
|
event = "InsertEnter",
|
|
|
|
config = function()
|
|
|
|
require 'plugins.copilot'
|
|
|
|
end,
|
|
|
|
},
|
2023-01-14 04:05:17 +00:00
|
|
|
--better navigation with 's-letter'
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'ggandor/leap.nvim',
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
|
|
|
require('leap').add_default_mappings()
|
|
|
|
end
|
|
|
|
},
|
2023-10-03 18:07:47 +01:00
|
|
|
--Nvim to browser
|
|
|
|
'subnut/nvim-ghost.nvim',
|
|
|
|
|
2023-10-13 10:27:18 +01:00
|
|
|
{
|
|
|
|
'2kabhishek/nerdy.nvim',
|
|
|
|
dependencies = {
|
|
|
|
'stevearc/dressing.nvim',
|
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
},
|
|
|
|
cmd = 'Nerdy',
|
|
|
|
},
|
|
|
|
|
2023-10-03 18:07:47 +01:00
|
|
|
{
|
|
|
|
"folke/which-key.nvim",
|
|
|
|
event = "VeryLazy",
|
|
|
|
init = function()
|
|
|
|
vim.o.timeout = true
|
|
|
|
vim.o.timeoutlen = 300
|
|
|
|
end,
|
|
|
|
opts = {
|
|
|
|
-- your configuration comes here
|
|
|
|
-- or leave it empty to use the default settings
|
|
|
|
-- refer to the configuration section below
|
|
|
|
}
|
|
|
|
},
|
2023-01-14 04:05:17 +00:00
|
|
|
|
2023-09-18 07:20:52 +01:00
|
|
|
{
|
|
|
|
"folke/todo-comments.nvim",
|
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
|
|
config = function()
|
|
|
|
require("todo-comments").setup {}
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'folke/zen-mode.nvim',
|
2023-01-29 02:08:14 +00:00
|
|
|
config = function()
|
|
|
|
require("zen-mode").setup {
|
2023-05-18 14:40:19 +01:00
|
|
|
vim.keymap.set('n', '<leader>z', '<Cmd> ZenMode <CR>', { noremap = true, silent = true })
|
2023-01-29 02:08:14 +00:00
|
|
|
}
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
--Change add and remove surroundings from words
|
|
|
|
'tpope/vim-surround',
|
2023-05-21 20:18:09 +01:00
|
|
|
'tpope/vim-obsession',
|
2023-05-29 16:05:32 +01:00
|
|
|
'tpope/vim-fugitive',
|
2023-01-14 04:05:17 +00:00
|
|
|
|
2023-09-18 07:20:52 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
'NvChad/nvim-colorizer.lua',
|
2023-06-06 20:23:01 +01:00
|
|
|
config = function()
|
2023-09-18 07:20:52 +01:00
|
|
|
require 'colorizer'.setup()
|
|
|
|
end
|
2023-06-06 20:23:01 +01:00
|
|
|
},
|
2023-09-18 07:20:52 +01:00
|
|
|
|
|
|
|
{
|
|
|
|
"roobert/tailwindcss-colorizer-cmp.nvim",
|
|
|
|
config = function()
|
|
|
|
require("tailwindcss-colorizer-cmp").setup({
|
|
|
|
color_square_width = 2,
|
|
|
|
})
|
|
|
|
end
|
|
|
|
},
|
2023-09-18 16:03:15 +01:00
|
|
|
{
|
|
|
|
'laytan/tailwind-sorter.nvim',
|
|
|
|
dependencies = { 'nvim-treesitter/nvim-treesitter', 'nvim-lua/plenary.nvim' },
|
|
|
|
build = 'cd formatter && bun i && bun run build',
|
|
|
|
config = true,
|
|
|
|
},
|
2023-09-18 07:20:52 +01:00
|
|
|
--Database integration
|
|
|
|
-- 'tpope/vim-dadbod',
|
|
|
|
-- {
|
|
|
|
-- 'kristijanhusak/vim-dadbod-ui',
|
|
|
|
-- config = function()
|
|
|
|
-- vim.g.db_ui_auto_execute_table_helpers = 1
|
|
|
|
-- end
|
|
|
|
-- },
|
|
|
|
-- 'kristijanhusak/vim-dadbod-completion',
|
2023-06-03 23:32:54 +01:00
|
|
|
|
|
|
|
'mbbill/undotree',
|
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
--Tmux navigation
|
|
|
|
{
|
|
|
|
'alexghergh/nvim-tmux-navigation',
|
|
|
|
config = function()
|
|
|
|
require 'nvim-tmux-navigation'.setup {
|
|
|
|
disable_when_zoomed = true, -- defaults to false
|
|
|
|
keybindings = {
|
|
|
|
left = "<F5>",
|
|
|
|
down = "<F6>",
|
|
|
|
up = "<F7>",
|
|
|
|
right = "<F8>",
|
|
|
|
}
|
|
|
|
}
|
|
|
|
end
|
|
|
|
},
|
2023-09-27 12:46:33 +01:00
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
-- Rename variable pop up
|
2023-09-20 12:03:25 +01:00
|
|
|
'stevearc/dressing.nvim',
|
|
|
|
{
|
2023-09-20 15:43:55 +01:00
|
|
|
'krady21/compiler-explorer.nvim',
|
|
|
|
config = function()
|
|
|
|
require("compiler-explorer").setup({
|
|
|
|
url = "https://godbolt.org",
|
2023-09-27 12:46:33 +01:00
|
|
|
infer_lang = true, -- Try to infer possible language based on file extension.
|
2023-09-20 15:43:55 +01:00
|
|
|
line_match = {
|
2023-09-27 12:46:33 +01:00
|
|
|
highlight = true, -- highlight the matching line(s) in the other buffer.
|
|
|
|
jump = true, -- move the cursor in the other buffer to the first matching line.
|
2023-09-20 15:43:55 +01:00
|
|
|
},
|
2023-09-27 12:46:33 +01:00
|
|
|
open_qflist = true, -- Open qflist after compilation if there are diagnostics.
|
|
|
|
split = "split", -- How to split the window after the second compile (split/vsplit).
|
|
|
|
compiler_flags = "", -- Default flags passed to the compiler.
|
2023-09-20 15:43:55 +01:00
|
|
|
job_timeout_ms = 25000, -- Timeout for libuv job in milliseconds.
|
2023-09-27 12:46:33 +01:00
|
|
|
languages = { -- Language specific default compiler/flags
|
2023-10-03 18:07:47 +01:00
|
|
|
c = {
|
|
|
|
compiler = "cg132"
|
|
|
|
}
|
2023-09-20 15:43:55 +01:00
|
|
|
},
|
|
|
|
})
|
|
|
|
end
|
2023-09-20 12:03:25 +01:00
|
|
|
},
|
2023-01-14 04:05:17 +00:00
|
|
|
|
2023-09-27 12:46:33 +01:00
|
|
|
{
|
|
|
|
'luk400/vim-jukit'
|
|
|
|
},
|
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'windwp/nvim-autopairs',
|
|
|
|
config = function()
|
2023-09-18 07:20:52 +01:00
|
|
|
require('nvim-autopairs').setup({
|
2023-05-29 16:05:32 +01:00
|
|
|
map_cr = true,
|
|
|
|
map_bs = true,
|
|
|
|
})
|
2023-01-14 04:05:17 +00:00
|
|
|
end
|
|
|
|
},
|
|
|
|
|
|
|
|
'nvim-tree/nvim-web-devicons',
|
|
|
|
|
|
|
|
{
|
|
|
|
'nvim-lualine/lualine.nvim',
|
|
|
|
dependencies = { 'nvim-tree/nvim-web-devicons', opt = true },
|
|
|
|
config = function()
|
|
|
|
require 'plugins.lualine'
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2023-05-24 12:56:22 +01:00
|
|
|
{
|
|
|
|
'stevearc/oil.nvim',
|
|
|
|
config = function()
|
|
|
|
require("oil").setup()
|
|
|
|
end
|
2023-05-20 02:40:14 +01:00
|
|
|
},
|
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
-------------------------------------------------------LSP----------------------------------------------
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'hrsh7th/nvim-cmp',
|
2023-01-14 04:05:17 +00:00
|
|
|
dependencies = {
|
2023-05-18 14:40:19 +01:00
|
|
|
'hrsh7th/cmp-nvim-lsp', -- lsp
|
|
|
|
'hrsh7th/cmp-nvim-lua', -- Nvim API completions
|
2023-01-14 04:05:17 +00:00
|
|
|
'hrsh7th/cmp-nvim-lsp-signature-help', -- Show function signatures
|
2023-05-18 14:40:19 +01:00
|
|
|
'hrsh7th/cmp-buffer', --buffer completions
|
|
|
|
'hrsh7th/cmp-path', --path completions
|
|
|
|
'hrsh7th/cmp-cmdline', --cmdline completions
|
2023-01-14 04:05:17 +00:00
|
|
|
'L3MON4D3/LuaSnip',
|
2023-01-14 04:32:16 +00:00
|
|
|
'rafamadriz/friendly-snippets',
|
2023-01-14 04:05:17 +00:00
|
|
|
'saadparwaiz1/cmp_luasnip',
|
|
|
|
},
|
|
|
|
config = function()
|
|
|
|
require 'plugins.cmp'
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
|
|
|
--LSP Status
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'j-hui/fidget.nvim',
|
2023-09-18 07:20:52 +01:00
|
|
|
tag = 'legacy',
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
2023-01-29 02:08:14 +00:00
|
|
|
require('fidget').setup {
|
|
|
|
window = {
|
|
|
|
blend = 0,
|
|
|
|
}
|
|
|
|
}
|
2023-01-14 04:05:17 +00:00
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'williamboman/mason.nvim',
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
|
|
|
require 'plugins.mason'
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
|
|
|
'williamboman/mason-lspconfig.nvim',
|
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'neovim/nvim-lspconfig',
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
|
|
|
require 'plugins.lspconfig'
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2023-09-18 07:20:52 +01:00
|
|
|
'simrat39/rust-tools.nvim',
|
|
|
|
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
2023-10-13 10:27:18 +01:00
|
|
|
'nvimtools/none-ls.nvim',
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
2023-10-13 10:27:18 +01:00
|
|
|
require 'plugins.none-ls'
|
2023-01-14 04:05:17 +00:00
|
|
|
end
|
|
|
|
},
|
|
|
|
|
2023-10-03 18:07:47 +01:00
|
|
|
{
|
|
|
|
'lervag/vimtex',
|
|
|
|
config = function()
|
|
|
|
require 'plugins.vimtex'
|
|
|
|
end
|
|
|
|
},
|
2023-03-09 15:47:36 +00:00
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
-------------------------------------------------------------------------------------------
|
|
|
|
-- Syntax Highlighting
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'nvim-treesitter/nvim-treesitter',
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
|
|
|
require 'plugins.treesitter'
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
|
|
|
--Sticky headers
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'nvim-treesitter/nvim-treesitter-context',
|
2023-01-14 04:05:17 +00:00
|
|
|
config = function()
|
|
|
|
require 'plugins.treesitter-context'
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
|
|
|
--Tabs
|
2023-05-18 14:40:19 +01:00
|
|
|
{
|
|
|
|
'akinsho/bufferline.nvim',
|
2023-01-14 04:05:17 +00:00
|
|
|
version = 'v3.*',
|
|
|
|
dependencies = 'nvim-tree/nvim-web-devicons',
|
|
|
|
config = function()
|
|
|
|
require("plugins.bufferline")
|
|
|
|
end
|
|
|
|
},
|
|
|
|
|
|
|
|
--does so much
|
|
|
|
{
|
2023-05-18 14:40:19 +01:00
|
|
|
'nvim-telescope/telescope.nvim',
|
|
|
|
tag = '0.1.0',
|
2023-01-14 04:05:17 +00:00
|
|
|
-- or , branch = '0.1.x',
|
|
|
|
dependencies = { 'nvim-lua/plenary.nvim' },
|
|
|
|
config = function() require('plugins.telescope') end
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
|
|
--Main menu
|
2023-09-18 07:20:52 +01:00
|
|
|
-- {
|
|
|
|
-- 'startup-nvim/startup.nvim',
|
|
|
|
-- dependencies = { 'nvim-telescope/telescope.nvim', 'nvim-lua/plenary.nvim' },
|
|
|
|
-- config = function()
|
|
|
|
-- require('startup').setup { theme = 'dashboard' }
|
|
|
|
-- end,
|
|
|
|
-- },
|
2023-01-14 04:05:17 +00:00
|
|
|
|
2023-03-07 21:48:39 +00:00
|
|
|
-------------------------------------------OTHERS----------------------------------------------
|
|
|
|
|
|
|
|
{
|
|
|
|
"nvim-neorg/neorg",
|
|
|
|
build = ":Neorg sync-parsers",
|
2023-09-18 16:03:15 +01:00
|
|
|
config = function()
|
|
|
|
require("neorg").setup {
|
|
|
|
load = {
|
|
|
|
["core.defaults"] = {}, -- Loads default behaviour
|
|
|
|
["core.concealer"] = {} -- Adds pretty icons to your documents
|
|
|
|
},
|
|
|
|
}
|
|
|
|
end,
|
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
2023-03-07 21:48:39 +00:00
|
|
|
},
|
2023-02-22 13:18:03 +00:00
|
|
|
|
2023-09-18 07:20:52 +01:00
|
|
|
-- 'kmonad/kmonad-vim',
|
|
|
|
-- 'elkowar/yuck.vim',
|
2023-03-07 21:48:39 +00:00
|
|
|
--Discord Rich Presence
|
|
|
|
'andweeb/presence.nvim'
|
2023-01-29 02:08:14 +00:00
|
|
|
|
2023-01-14 04:05:17 +00:00
|
|
|
})
|