-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinit.lua
More file actions
92 lines (88 loc) · 2.03 KB
/
Copy pathinit.lua
File metadata and controls
92 lines (88 loc) · 2.03 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
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
-- Overrides for NvChad's core plugins. Themed additions live in the sibling
-- files (editor, git, dap, lang, tools) — lazy.nvim imports every module here.
return {
{
"stevearc/conform.nvim",
event = "BufWritePre", -- enables format on save
opts = require "configs.conform",
},
{
"neovim/nvim-lspconfig",
config = function()
require "configs.lspconfig"
end,
},
{
"nvim-treesitter/nvim-treesitter",
opts = {
-- lazy.nvim's opts merge REPLACES lists, so NvChad's defaults
-- (lua, luadoc, printf, vim, vimdoc) are re-included here
ensure_installed = {
"lua",
"luadoc",
"printf",
"vim",
"vimdoc",
-- low-level
"c",
"cpp",
"asm",
"make",
"cmake",
"rust",
"toml",
"zig",
-- scripting / backend
"python",
"go",
"gomod",
"gowork",
"gosum",
"bash",
-- web
"javascript",
"typescript",
"tsx",
"html",
"css",
"scss",
"json",
"jsonc",
"yaml",
"graphql",
-- misc
"markdown",
"markdown_inline",
"regex",
"query",
"diff",
"gitcommit",
"git_rebase",
"gitignore",
"dockerfile",
"http", -- kulala
"sql",
},
},
},
{
"folke/which-key.nvim",
opts = {
spec = {
{ "<leader>b", group = "buffer" },
{ "<leader>c", group = "code" },
{ "<leader>d", group = "debug" },
{ "<leader>f", group = "find" },
{ "<leader>g", group = "git" },
{ "<leader>gh", group = "hunks" },
{ "<leader>q", group = "session" },
{ "<leader>R", group = "rest" },
{ "<leader>s", group = "search" },
{ "<leader>u", group = "toggles" },
{ "<leader>w", group = "windows" },
{ "<leader>x", group = "diagnostics/quickfix" },
{ "gs", group = "surround" },
},
},
},
}