-
Notifications
You must be signed in to change notification settings - Fork 0
/
plugins.ts
92 lines (91 loc) · 2.34 KB
/
plugins.ts
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
import { ClosedGroup, Group } from "./lib/specs.ts";
export default ClosedGroup(
// dpp.vim and extensions (a plugin manager)
...Group({ lazy: false, rtp: "" }, [
"Shougo/dpp.vim",
"Shougo/dpp-ext-lazy",
]),
// Colorscheme and UIs
...Group({ lazy: false }, [
"rebelot/kanagawa.nvim",
{
repo: "nvim-lualine/lualine.nvim",
depends: "nvim-web-devicons",
},
"nvim-tree/nvim-web-devicons",
]),
...Group({ event: "CursorHold" }, [
{
repo: "folke/noice.nvim",
depends: ["nui.nvim", "nvim-notify"],
},
]),
// Highlighting and diagnostics
...Group({ event: "BufRead" }, [
{
repo: "b0o/incline.nvim",
depends: "nvim-web-devicons",
},
{
repo: "neovim/nvim-lspconfig",
// plenary is required in our configuration
depends: ["cmp-nvim-lsp", "noice.nvim", "plenary.nvim"],
},
{ repo: "lewis6991/gitsigns.nvim", setup: "gitsigns" },
{ repo: "shortcuts/no-neck-pain.nvim", exec: "NoNeckPain" },
{ repo: "uga-rosa/ccc.nvim", setup: "ccc" },
]),
// Completion
...Group({ event: ["CmdlineEnter", "InsertEnter"] }, [
"hrsh7th/nvim-cmp",
"zbirenbaum/copilot.lua",
]),
// nvim-cmp extensions
...Group({ extends: "nvim-cmp" }, [
"hrsh7th/cmp-buffer",
"hrsh7th/cmp-cmdline",
"hrsh7th/cmp-emoji",
"hrsh7th/cmp-nvim-lsp",
"hrsh7th/cmp-path",
"dcampos/cmp-snippy",
"dcampos/nvim-snippy",
{ repo: "rinx/cmp-skkeleton", depends: "skkeleton" },
{ repo: "vim-skk/skkeleton", depends: "denops.vim" },
]),
// Loaded when cursor moved (normal-mode plugins)
...Group({ event: "CursorMoved" }, [
"machakann/vim-sandwich",
]),
// Commands
{
repo: "nvim-telescope/telescope.nvim",
depends: ["nvim-web-devicons", "plenary.nvim"],
on: "telescope",
},
{
repo: "stevearc/oil.nvim",
depends: "nvim-web-devicons",
on: "oil",
},
{
repo: "voldikss/vim-floaterm",
cmd: ["FloatermNew", "FloatermToggle"],
},
{
repo: "iamcco/markdown-preview.nvim",
cmd: "MarkdownPreview",
build: 'sh -c "cd app && yarn install"',
},
{
repo: "toppair/peek.nvim",
on: "peek",
build: "deno task -q build:fast",
},
// Libraries
...Group({ lazy: true }, [
"MunifTanjim/nui.nvim",
"nvim-lua/plenary.nvim",
"rcarriga/nvim-notify",
"vim-denops/denops.vim",
]),
);