-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
65 lines (59 loc) · 1.7 KB
/
init.lua
File metadata and controls
65 lines (59 loc) · 1.7 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
if vim.fn.has("nvim-0.11") == 0 then
vim.notify("Neovim 0.12+ required", vim.log.levels.ERROR)
return
end
vim.g._ts_force_sync_parsing = true
require("vim._extui").enable({})
local add = function(specs)
specs = vim
.iter(specs)
:map(function(s)
local spec = type(s) == "string" and { src = s } or s
if not spec.src:match("^https?") and not spec.src:match("^/") then
spec.src = "https://github.com/" .. spec.src
end
return spec
end)
:totable()
vim.pack.add(specs)
end
add({
{ src = "nvim-lua/plenary.nvim" },
-- Colorschemes
{ src = "catppuccin/nvim", name = "catppuccin" },
{ src = "AlexvZyl/nordic.nvim" },
-- Tmux
{ src = "christoomey/vim-tmux-navigator" },
-- Treesitter
{ src = "nvim-treesitter/nvim-treesitter", version = "main" },
{ src = "nvim-treesitter/nvim-treesitter-textobjects", version = "main" },
-- Cmp
{ src = "L3MON4D3/LuaSnip", version = "v2.4.0" },
{ src = "saghen/blink.cmp", version = "v1.6.0" },
-- Mini
{ src = "echasnovski/mini.nvim" },
-- Coding
{ src = "stevearc/conform.nvim" },
{ src = "mfussenegger/nvim-lint" },
-- Dap
{ src = "mfussenegger/nvim-dap" },
{ src = "igorlfs/nvim-dap-view" },
-- Diagnostic
{ src = "folke/trouble.nvim" },
-- Git
{ src = "tpope/vim-fugitive" },
{ src = "lewis6991/gitsigns.nvim" },
-- UI
{ src = "j-hui/fidget.nvim" },
-- AI
{ src = "zbirenbaum/copilot.lua" },
{ src = "olimorris/codecompanion.nvim" },
-- ft
{ src = "folke/lazydev.nvim" },
{ src = "akinsho/flutter-tools.nvim" },
{ src = "MeanderingProgrammer/render-markdown.nvim" },
-- misc
{ src = "iofq/dart.nvim" },
{ src = "zk-org/zk-nvim" },
{ src = "bngarren/checkmate.nvim" },
})