Last active
February 9, 2025 10:16
-
-
Save storopoli/9742a3efcb6764c7fc2def91ed0126e1 to your computer and use it in GitHub Desktop.
LazyVim configs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return { | |
-- add gruvbox | |
{ | |
"ellisonleao/gruvbox.nvim", | |
opts = { | |
contrast = "hard", | |
transparent_mode = true, | |
}, | |
}, | |
-- Configure LazyVim to load gruvbox | |
{ | |
"LazyVim/LazyVim", | |
opts = { | |
colorscheme = "gruvbox", | |
}, | |
}, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
return { | |
"linrongbin16/gitlinker.nvim", | |
event = "VeryLazy", | |
cmd = "GitLink", | |
opts = {}, | |
keys = { | |
{ "<leader>gy", "<cmd>GitLink<cr>", mode = { "n", "v" }, desc = "Yank Git link (GitLinker)" }, | |
{ "<leader>gY", "<cmd>GitLink!<cr>", mode = { "n", "v" }, desc = "Open Git link (GitLinker)" }, | |
}, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"extras": [ | |
"lazyvim.plugins.extras.ai.copilot-chat", | |
"lazyvim.plugins.extras.ai.supermaven", | |
"lazyvim.plugins.extras.coding.mini-surround", | |
"lazyvim.plugins.extras.coding.yanky", | |
"lazyvim.plugins.extras.editor.dial", | |
"lazyvim.plugins.extras.editor.harpoon2", | |
"lazyvim.plugins.extras.editor.inc-rename", | |
"lazyvim.plugins.extras.editor.mini-files", | |
"lazyvim.plugins.extras.editor.snacks_picker", | |
"lazyvim.plugins.extras.formatting.prettier", | |
"lazyvim.plugins.extras.lang.docker", | |
"lazyvim.plugins.extras.lang.git", | |
"lazyvim.plugins.extras.lang.json", | |
"lazyvim.plugins.extras.lang.markdown", | |
"lazyvim.plugins.extras.lang.python", | |
"lazyvim.plugins.extras.lang.rust", | |
"lazyvim.plugins.extras.lang.toml", | |
"lazyvim.plugins.extras.lang.typescript", | |
"lazyvim.plugins.extras.lang.yaml", | |
"lazyvim.plugins.extras.lang.zig", | |
"lazyvim.plugins.extras.linting.eslint", | |
"lazyvim.plugins.extras.lsp.neoconf", | |
"lazyvim.plugins.extras.test.core", | |
"lazyvim.plugins.extras.ui.edgy", | |
"lazyvim.plugins.extras.ui.treesitter-context", | |
"lazyvim.plugins.extras.util.dot", | |
"lazyvim.plugins.extras.util.mini-hipatterns", | |
"lazyvim.plugins.extras.util.octo", | |
"lazyvim.plugins.extras.util.rest" | |
], | |
"install_version": 7, | |
"news": { | |
"NEWS.md": "10960" | |
}, | |
"version": 8 | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Options are automatically loaded before lazy.nvim startup | |
-- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua | |
-- Add any additional options here | |
vim.g.have_nerd_font = true | |
-- Minimal number of screen lines to keep above and below the cursor. | |
vim.opt.scrolloff = 10 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Hack to enable proc macro support in Rust. | |
return { | |
"mrcjkb/rustaceanvim", | |
opts = function(_, opts) | |
opts = opts or {} | |
local local_opts = opts | |
local path = { "server", "default_settings", "rust-analyzer", "procMacro", "ignored" } | |
for i = 1, #path - 1 do | |
local_opts[path[i]] = local_opts[path[i]] or {} | |
local_opts = local_opts[path[i]] | |
end | |
local_opts[path[#path]] = { | |
["napi-derive"] = { "napi" }, | |
["async-recursion"] = { "async_recursion" }, | |
} | |
return opts | |
end, | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment