Skip to content

Commit ade2325

Browse files
committed
update nvim dotfiles
1 parent 36abc73 commit ade2325

25 files changed

+1616
-48
lines changed

.DS_Store

6 KB
Binary file not shown.

Dotfiles/.DS_Store

6 KB
Binary file not shown.

Dotfiles/nvim/.DS_Store

6 KB
Binary file not shown.

Dotfiles/nvim/init.lua

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1-
require("ro.core")
2-
require("ro.lazy")
3-
require("ro.conf")
1+
if vim.loader then
2+
vim.loader.enable()
3+
end
4+
5+
_G.dd = function(...)
6+
require("util.debug").dump(...)
7+
end
8+
vim.print = _G.dd
9+
10+
require("config.lazy")

Dotfiles/nvim/lazy-lock.json

Lines changed: 55 additions & 45 deletions
Original file line numberDiff line numberDiff line change
@@ -1,56 +1,66 @@
11
{
2-
"Comment.nvim": { "branch": "master", "commit": "0236521ea582747b58869cb72f70ccfa967d2e89" },
3-
"LuaSnip": { "branch": "master", "commit": "03c8e67eb7293c404845b3982db895d59c0d1538" },
4-
"alpha-nvim": { "branch": "main", "commit": "41283fb402713fc8b327e60907f74e46166f4cfd" },
5-
"auto-session": { "branch": "main", "commit": "af2219b9fa99c1d7ac409bd9eac094c459d3f52d" },
6-
"bufferline.nvim": { "branch": "main", "commit": "eba37af2699143efe7a8b1ffc57bf31756b73100" },
2+
"LazyVim": { "branch": "main", "commit": "dde4a9dcdf49719c67642d09847dbaf7f9c7a156" },
3+
"SchemaStore.nvim": { "branch": "main", "commit": "c1b5ba305a2370d2a159ad01d1619ac120199e8d" },
4+
"bufferline.nvim": { "branch": "main", "commit": "99337f63f0a3c3ab9519f3d1da7618ca4f91cffe" },
5+
"catppuccin": { "branch": "main", "commit": "67565cd353fa543fa30cb738570c2e4c87da3e9c" },
76
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
7+
"cmp-emoji": { "branch": "main", "commit": "e8398e2adf512a03bb4e1728ca017ffeac670a9f" },
88
"cmp-nvim-lsp": { "branch": "main", "commit": "39e2eda76828d88b773cc27a3f61d2ad782c922d" },
99
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
10-
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
11-
"conform.nvim": { "branch": "master", "commit": "55619bcb306a1a37d487ed31b360a41c343ee74a" },
12-
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
13-
"eskk.vim": { "branch": "master", "commit": "a2a722c1c020748249a1f04b788cecd4f509202b" },
14-
"friendly-snippets": { "branch": "main", "commit": "dd2fd1281d4b22e7b4a5bfafa3e142d958e251f2" },
15-
"fzf-lua": { "branch": "main", "commit": "a9e5755721c0f24cd1635ea4ff181df5b1bd5dd4" },
16-
"git-blame.nvim": { "branch": "master", "commit": "fb84fad97cd4b51caee3c865e8a33a0d413b77a8" },
17-
"gitsigns.nvim": { "branch": "main", "commit": "805610a9393fa231f2c2b49cb521bfa413fadb3d" },
10+
"conform.nvim": { "branch": "master", "commit": "9a06e83527407a7600a2fe4e0d10adf432b6215e" },
11+
"dashboard-nvim": { "branch": "master", "commit": "b88c997f468a1bacb1e9b13ff3b567638caa06e6" },
12+
"dial.nvim": { "branch": "master", "commit": "7af2daaaf933b0617ded0f78b49f4d5fc45f9f64" },
13+
"dressing.nvim": { "branch": "master", "commit": "6741f1062d3dc6e4755367a7e9b347b553623f04" },
14+
"friendly-snippets": { "branch": "main", "commit": "682157939e57bd6a2c86277dfd4d6fbfce63dbac" },
15+
"gitsigns.nvim": { "branch": "main", "commit": "0dc886637f9686b7cfd245a4726f93abeab19d4a" },
16+
"gruvbox.nvim": { "branch": "main", "commit": "d4cde3853a172485961b515c36d51d757728d6e6" },
1817
"harpoon": { "branch": "harpoon2", "commit": "0378a6c428a0bed6a2781d459d7943843f374bce" },
19-
"hover.nvim": { "branch": "main", "commit": "82684ebd5f2a812d6d05a629b14109618b54cbfc" },
20-
"indent-blankline.nvim": { "branch": "master", "commit": "ece00d5fb44d196680a81fd2761062d2fa44663b" },
21-
"lazy.nvim": { "branch": "main", "commit": "8f19915175395680808de529e4220da8dafc0759" },
22-
"lazygit.nvim": { "branch": "main", "commit": "ad3e1ea592f9d13e86e0d4e850224d9d78069508" },
23-
"lspkind.nvim": { "branch": "master", "commit": "1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf" },
18+
"inc-rename.nvim": { "branch": "main", "commit": "535b508c0cb14d00c1836ad901b3c531cb1152bb" },
19+
"incline.nvim": { "branch": "main", "commit": "16fc9c073e3ea4175b66ad94375df6d73fc114c0" },
20+
"indent-blankline.nvim": { "branch": "master", "commit": "d98f537c3492e87b6dc6c2e3f66ac517528f406f" },
21+
"lazy.nvim": { "branch": "main", "commit": "c501b429cf995c645454539b924aaefae45bb9eb" },
22+
"lazydev.nvim": { "branch": "main", "commit": "6184ebbbc8045d70077659b7d30c705a588dc62f" },
2423
"lualine.nvim": { "branch": "master", "commit": "0a5a66803c7407767b799067986b4dc3036e1983" },
25-
"mason-lspconfig.nvim": { "branch": "main", "commit": "a4caa0d083aab56f6cd5acf2d42331b74614a585" },
26-
"mason-tool-installer.nvim": { "branch": "main", "commit": "c1fbdcb0d8d1295314f1612c4a247253e70299d9" },
27-
"mason.nvim": { "branch": "main", "commit": "49ff59aded1047a773670651cfa40e76e63c6377" },
28-
"neodev.nvim": { "branch": "main", "commit": "ce9a2e8eaba5649b553529c5498acb43a6c317cd" },
24+
"luvit-meta": { "branch": "main", "commit": "ce76f6f6cdc9201523a5875a4471dcfe0186eb60" },
25+
"mason-lspconfig.nvim": { "branch": "main", "commit": "37a336b653f8594df75c827ed589f1c91d91ff6c" },
26+
"mason.nvim": { "branch": "main", "commit": "0950b15060067f752fde13a779a994f59516ce3d" },
27+
"mini.ai": { "branch": "main", "commit": "9fef1097bca44616133cde6a6769e7aa07d12d7d" },
28+
"mini.animate": { "branch": "main", "commit": "0a35f6db55cfac04a0999abe3465f7b692dc56a7" },
29+
"mini.bracketed": { "branch": "main", "commit": "06ad08fc75dc540cba76d3d8de0f2dc9f75b5812" },
30+
"mini.hipatterns": { "branch": "main", "commit": "427712c754bfdccd8da7073576cd8e2586c0fe93" },
31+
"mini.pairs": { "branch": "main", "commit": "40261dfcec7623cd57be3c3beb50fa73f2650cdf" },
32+
"neo-tree.nvim": { "branch": "v3.x", "commit": "29f7c215332ba95e470811c380ddbce2cebe2af4" },
33+
"neogen": { "branch": "main", "commit": "6de0add4805165317ab7d3d36b5cef48b1b865f3" },
34+
"noice.nvim": { "branch": "main", "commit": "88ac36864b5976a64b14a8f156c616f41b32f228" },
35+
"nui.nvim": { "branch": "main", "commit": "322978c734866996274467de084a95e4f9b5e0b1" },
2936
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
30-
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
31-
"nvim-lint": { "branch": "master", "commit": "5697e6cb9588b70e260e4cc1f833ebb0bdc07617" },
32-
"nvim-lsp-file-operations": { "branch": "master", "commit": "223aca86b737dc66e9c51ebcda8788a8d9cc6cf2" },
33-
"nvim-lspconfig": { "branch": "master", "commit": "eadcee1573ca9d0e0cd36a49f620186a8dfdc607" },
34-
"nvim-surround": { "branch": "main", "commit": "79aaa42da1f698ed31bcbe7f83081f69dca7ba17" },
35-
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
36-
"nvim-treesitter": { "branch": "master", "commit": "30de5e7e9486fb1b1b8c2a1e71052b13f94f1cb0" },
37-
"nvim-treesitter-textobjects": { "branch": "master", "commit": "5f9bf4b1ead7707e4e74e5319ee56bdc81fb73db" },
38-
"nvim-ts-autotag": { "branch": "main", "commit": "62db4b3054ec6847e5cb189b4dea452ce0c7ad7f" },
39-
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
40-
"nvim-web-devicons": { "branch": "master", "commit": "e37bb1feee9e7320c76050a55443fa843b4b6f83" },
41-
"oil.nvim": { "branch": "master", "commit": "259b1fbc84734bfb74225b2c2f408dd7ed9cf474" },
37+
"nvim-cmp": { "branch": "main", "commit": "a110e12d0b58eefcf5b771f533fc2cf3050680ac" },
38+
"nvim-lint": { "branch": "master", "commit": "941fa1220a61797a51f3af9ec6b7d74c8c7367ce" },
39+
"nvim-lspconfig": { "branch": "master", "commit": "6806370929cf6a35be6e5e0e74588515a4356e4d" },
40+
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
41+
"nvim-snippets": { "branch": "main", "commit": "5c978b3ba0c504dc9f94ca93d17029f26064d229" },
42+
"nvim-spectre": { "branch": "master", "commit": "ec67d4b5370094b923dfcf6b09b39142f2964861" },
43+
"nvim-tree.lua": { "branch": "master", "commit": "2086e564c4d23fea714e8a6d63b881e551af2f41" },
44+
"nvim-treesitter": { "branch": "master", "commit": "7b04b398f868563cac37ae90baffd7c3dca513fe" },
45+
"nvim-treesitter-textobjects": { "branch": "master", "commit": "34867c69838078df7d6919b130c0541c0b400c47" },
46+
"nvim-ts-autotag": { "branch": "main", "commit": "06fe07d7523ba8c755fac7c913fceba43b1720ee" },
47+
"nvim-web-devicons": { "branch": "master", "commit": "c0cfc1738361b5da1cd0a962dd6f774cc444f856" },
48+
"oil.nvim": { "branch": "master", "commit": "4c574cf4a2de736d2662d52ce086d8bdf87c49df" },
49+
"persistence.nvim": { "branch": "main", "commit": "95d03ad5450389ad7dc2a0fab14ebb3d46bc2c96" },
50+
"playground": { "branch": "master", "commit": "ba48c6a62a280eefb7c85725b0915e021a1a0749" },
4251
"plenary.nvim": { "branch": "master", "commit": "a3e3bc82a3f95c5ed0d7201546d5d2c19b20d683" },
43-
"substitute.nvim": { "branch": "main", "commit": "17ffaeb5a1dc2dbef39cf0865d8a4b6000836714" },
52+
"refactoring.nvim": { "branch": "master", "commit": "66fea340c84f43df696fe6d9f2a90796fbe9c9cf" },
53+
"solarized-osaka.nvim": { "branch": "main", "commit": "a2a435aa0e6088ccc0d7c3aa2813c10570d90c87" },
54+
"symbols-outline.nvim": { "branch": "master", "commit": "564ee65dfc9024bdde73a6621820866987cbb256" },
55+
"telescope-file-browser.nvim": { "branch": "master", "commit": "a7ab9a957b17199183388c6f357d614fcaa508e5" },
4456
"telescope-fzf-native.nvim": { "branch": "main", "commit": "9ef21b2e6bb6ebeaf349a0781745549bbb870d27" },
45-
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "4122e146d199c0d6d1cfb359c76bc1250d522460" },
46-
"telescope-recent-files": { "branch": "main", "commit": "6893cda11625254cc7dc2ea76e0a100c7deeb028" },
47-
"telescope.nvim": { "branch": "0.1.x", "commit": "d829aa64059001ee7b2c8c8aa9c4e6df0b17d893" },
48-
"todo-comments.nvim": { "branch": "main", "commit": "a7e39ae9e74f2c8c6dc4eea6d40c3971ae84752d" },
49-
"tokyonight.nvim": { "branch": "main", "commit": "b9b494fa7f7bbf2fe0747b47fa290fb7a4eddcc7" },
50-
"trouble.nvim": { "branch": "main", "commit": "a8264a65a0b894832ea642844f5b7c30112c458f" },
51-
"vim-maximizer": { "branch": "master", "commit": "2e54952fe91e140a2e69f35f22131219fcd9c5f1" },
52-
"vim-react-snippets": { "branch": "main", "commit": "19c86459f4cd545f889624df13b8d5862457c633" },
53-
"vim-tmux-navigator": { "branch": "master", "commit": "c600cf10db1bf933aab9e357158bf9b202ecf99b" },
54-
"which-key.nvim": { "branch": "main", "commit": "4433e5ec9a507e5097571ed55c02ea9658fb268a" },
57+
"telescope-live-grep-args.nvim": { "branch": "master", "commit": "8ad632f793fd437865f99af5684f78300dac93fb" },
58+
"telescope.nvim": { "branch": "0.1.x", "commit": "a0bbec21143c7bc5f8bb02e0005fa0b982edc026" },
59+
"todo-comments.nvim": { "branch": "main", "commit": "51e10f838e84b4756c16311d0b1ef0972c6482d2" },
60+
"tokyonight.nvim": { "branch": "main", "commit": "81c867c5f638597a82c82094dcb90ed42444dabc" },
61+
"trouble.nvim": { "branch": "main", "commit": "2d8610a07033f2b367e71230ab128f8b89c2639d" },
62+
"ts-comments.nvim": { "branch": "main", "commit": "c075b4ee00f6e111b44bf99a8cfd5a4cfce9258a" },
63+
"vim-fugitive": { "branch": "master", "commit": "64d6cafb9dcbacce18c26d7daf617ebb96b273f3" },
64+
"which-key.nvim": { "branch": "main", "commit": "0099511294f16b81c696004fa6a403b0ae61f7a0" },
5565
"zen-mode.nvim": { "branch": "main", "commit": "78557d972b4bfbb7488e17b5703d25164ae64e6a" }
5666
}

Dotfiles/nvim/lazyvim.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"extras": [
3+
4+
],
5+
"news": {
6+
"NEWS.md": "6077",
7+
"doc/news.txt": "24447"
8+
},
9+
"version": 6
10+
}

Dotfiles/nvim/lua/config/autocmds.lua

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
-- Turn off paste mode when leaving insert
2+
vim.api.nvim_create_autocmd("InsertLeave", {
3+
pattern = "*",
4+
command = "set nopaste",
5+
})
6+
7+
-- Disable the concealing in some file formats
8+
-- The default conceallevel is 3 in LazyVim
9+
vim.api.nvim_create_autocmd("FileType", {
10+
pattern = { "json", "jsonc", "markdown" },
11+
callback = function()
12+
vim.opt.conceallevel = 0
13+
end,
14+
})

Dotfiles/nvim/lua/config/keymaps.lua

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
--local discipline = require("craftzdog.discipline")
2+
3+
--discipline.cowboy()
4+
5+
local keymap = vim.keymap
6+
local opts = { noremap = true, silent = true }
7+
8+
-- Do things without affecting the registers
9+
keymap.set("n", "x", '"_x')
10+
keymap.set("n", "<Leader>p", '"0p')
11+
keymap.set("n", "<Leader>P", '"0P')
12+
keymap.set("v", "<Leader>p", '"0p')
13+
keymap.set("n", "<Leader>c", '"_c')
14+
keymap.set("n", "<Leader>C", '"_C')
15+
keymap.set("v", "<Leader>c", '"_c')
16+
keymap.set("v", "<Leader>C", '"_C')
17+
keymap.set("n", "<Leader>d", '"_d')
18+
keymap.set("n", "<Leader>D", '"_D')
19+
keymap.set("v", "<Leader>d", '"_d')
20+
keymap.set("v", "<Leader>D", '"_D')
21+
22+
-- Increment/decrement
23+
keymap.set("n", "+", "<C-a>")
24+
keymap.set("n", "-", "<C-x>")
25+
26+
-- Delete a word backwards
27+
--keymap.set("n", "dw", 'vb"_d')
28+
29+
-- Select all
30+
keymap.set("n", "<C-a>", "gg<S-v>G")
31+
32+
-- Save with root permission (not working for now)
33+
--vim.api.nvim_create_user_command('W', 'w !sudo tee > /dev/null %', {})
34+
35+
-- Disable continuations
36+
keymap.set("n", "<Leader>o", "o<Esc>^Da", opts)
37+
keymap.set("n", "<Leader>O", "O<Esc>^Da", opts)
38+
39+
-- Jumplist
40+
--keymap.set("n", "<C-m>", "<C-i>", opts)
41+
42+
-- New tab
43+
keymap.set("n", "te", ":tabedit")
44+
keymap.set("n", "<tab>", ":tabnext<Return>", opts)
45+
keymap.set("n", "<s-tab>", ":tabprev<Return>", opts)
46+
-- Split window
47+
keymap.set("n", "ss", ":split<Return>", opts)
48+
keymap.set("n", "sv", ":vsplit<Return>", opts)
49+
-- Move window
50+
keymap.set("n", "sh", "<C-w>h")
51+
keymap.set("n", "sk", "<C-w>k")
52+
keymap.set("n", "sj", "<C-w>j")
53+
keymap.set("n", "sl", "<C-w>l")
54+
55+
-- Resize window
56+
keymap.set("n", "<C-w><left>", "<C-w><")
57+
keymap.set("n", "<C-w><right>", "<C-w>>")
58+
keymap.set("n", "<C-w><up>", "<C-w>+")
59+
keymap.set("n", "<C-w><down>", "<C-w>-")
60+
61+
-- Diagnostics
62+
keymap.set("n", "<C-j>", function()
63+
vim.diagnostic.goto_next()
64+
end, opts)
65+
66+
keymap.set("n", "<leader>rn", function()
67+
return ":IncRename " .. vim.fn.expand("<cword>")
68+
end, { expr = true })
69+
70+
keymap.set("n", "<leader>i", function()
71+
require("craftzdog.lsp").toggleInlayHints()
72+
end)
73+
--mine
74+
vim.g.mapleader = " "
75+
76+
keymap.set("i", "jk", "<ESC>", { desc = "Exit insert mode with jk" })
77+
78+
keymap.set("n", "<leader>nh", ":nohl<CR>", { desc = "Clear search highlights" })
79+
80+
-- Set the first option as default in autocomplete menu
81+
keymap.set("i", "<CR>", 'pumvisible() ? "\\<C-y><CR>" : "\\<CR>"', { expr = true })
82+
83+
-- increment/decrement numbers
84+
keymap.set("n", "<leader>+", "<C-a>", { desc = "Increment number" }) -- increment
85+
keymap.set("n", "<leader>-", "<C-x>", { desc = "Decrement number" }) -- decrement
86+
--personal ones
87+
keymap.set("n", "<C-s>", "<C-^>jzz") -- toggle last file
88+
keymap.set("i", "<C-s>", "<ESC><C-^>jzz") -- toggle last file
89+
keymap.set("n", "zz", "<Esc>:update<cr>")
90+
--keymap.set("i", "zz", "<Esc>:update<cr>")
91+
keymap.set("n", ";", "<S-$>") -- Go to end of line
92+
93+
-- window management
94+
keymap.set("n", "<leader>sv", "<C-w>v", { desc = "Split window vertically" }) -- split window vertically
95+
keymap.set("n", "<leader>sh", "<C-w>s", { desc = "Split window horizontally" }) -- split window horizontally
96+
keymap.set("n", "<leader>se", "<C-w>=", { desc = "Make splits equal size" }) -- make split windows equal width & height
97+
keymap.set("n", "<leader>sx", "<cmd>close<CR>", { desc = "Close current split" }) -- close current split window
98+
99+
keymap.set("n", "<leader>to", "<cmd>tabnew<CR>", { desc = "Open new tab" }) -- open new tab
100+
keymap.set("n", "<leader>tx", "<cmd>tabclose<CR>", { desc = "Close current tab" }) -- close current tab
101+
keymap.set("n", "<leader>tn", "<cmd>tabn<CR>", { desc = "Go to next tab" }) -- go to next tab
102+
keymap.set("n", "<leader>tp", "<cmd>tabp<CR>", { desc = "Go to previous tab" }) -- go to previous tab
103+
keymap.set("n", "<leader>tf", "<cmd>tabnew %<CR>", { desc = "Open current buffer in new tab" }) -- move current buffer to new tab
104+
105+
-- ZenMode
106+
keymap.set("n", "<leader>zm", "<cmd>ZenMode<CR>", { desc = "Toggle ZenMode" })
107+
keymap.set("n", "j", "jzz", { desc = "Center" })
108+
--keymap.set("n", "n", "kzz", { desc = "Center" })
109+
--
110+
111+
keymap.set("n", "<leader>q", "<cmd>NvimTreeClose<cr>:qa!<cr>", { desc = "Quit all" })
112+
keymap.set("n", "<leader>w", "<cmd>NvimTreeClose<cr>:wqa<cr>", { desc = "Save and quit all" })
113+
keymap.set("n", "<leader>u", "<cmd>source %<cr>", { desc = "Source file" })
114+
115+
--git
116+
keymap.set("n", "<leader>gb", "<cmd>Gitsigns blame_line<cr>", { desc = "Git blame_line" })

Dotfiles/nvim/lua/config/lazy.lua

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
local lazypath = vim.fn.stdpath("data") .. "/lazy/lazy.nvim"
2+
if not vim.loop.fs_stat(lazypath) then
3+
vim.fn.system({
4+
"git",
5+
"clone",
6+
"--filter=blob:none",
7+
"https://github.com/folke/lazy.nvim.git",
8+
"--branch=stable", -- latest stable release
9+
lazypath,
10+
})
11+
end
12+
vim.opt.rtp:prepend(lazypath)
13+
14+
require("lazy").setup({
15+
spec = {
16+
-- add LazyVim and import its plugins
17+
{
18+
"LazyVim/LazyVim",
19+
import = "lazyvim.plugins",
20+
opts = {
21+
-- colorscheme = "gruvbox",
22+
news = {
23+
lazyvim = true,
24+
neovim = true,
25+
},
26+
},
27+
},
28+
-- import any extras modules here
29+
{ import = "lazyvim.plugins.extras.lang.typescript" },
30+
{ import = "lazyvim.plugins.extras.linting.eslint" },
31+
32+
{ import = "lazyvim.plugins.extras.formatting.prettier" },
33+
{ import = "lazyvim.plugins.extras.lang.json" },
34+
-- { import = "lazyvim.plugins.extras.lang.markdown" },
35+
-- { import = "lazyvim.plugins.extras.lang.rust" },
36+
-- { import = "lazyvim.plugins.extras.lang.tailwind" },
37+
-- { import = "lazyvim.plugins.extras.dap.core" },
38+
-- { import = "lazyvim.plugins.extras.vscode" },
39+
{ import = "lazyvim.plugins.extras.util.mini-hipatterns" },
40+
-- { import = "lazyvim.plugins.extras.test.core" },
41+
-- { import = "lazyvim.plugins.extras.coding.yanky" },
42+
-- { import = "lazyvim.plugins.extras.editor.mini-files" },
43+
-- { import = "lazyvim.plugins.extras.util.project" },
44+
{ import = "plugins" },
45+
},
46+
defaults = {
47+
-- By default, only LazyVim plugins will be lazy-loaded. Your custom plugins will load during startup.
48+
-- If you know what you're doing, you can set this to `true` to have all your custom plugins lazy-loaded by default.
49+
lazy = false,
50+
-- It's recommended to leave version=false for now, since a lot the plugin that support versioning,
51+
-- have outdated releases, which may break your Neovim install.
52+
version = false, -- always use the latest git commit
53+
-- version = "*", -- try installing the latest stable version for plugins that support semver
54+
},
55+
checker = { enabled = false }, -- automatically check for plugin updates
56+
performance = {
57+
cache = {
58+
enabled = true,
59+
-- disable_events = {},
60+
},
61+
rtp = {
62+
-- disable some rtp plugins
63+
disabled_plugins = {
64+
"gzip",
65+
-- "matchit",
66+
-- "matchparen",
67+
"netrwPlugin",
68+
"rplugin",
69+
"tarPlugin",
70+
"tohtml",
71+
"tutor",
72+
"zipPlugin",
73+
},
74+
},
75+
},
76+
ui = {
77+
custom_keys = {
78+
["<localleader>d"] = function(plugin)
79+
dd(plugin)
80+
end,
81+
},
82+
},
83+
debug = false,
84+
})

0 commit comments

Comments
 (0)