This commit is contained in:
2026-02-24 21:34:42 -05:00
parent c8e02a40a8
commit a467bc9273
5 changed files with 13 additions and 41 deletions

View File

@@ -0,0 +1,6 @@
---@type vim.lsp.Config
return {
cmd = { 'rust-analyzer' },
filetypes = { 'rs' },
root_markers = { 'Cargo.toml' },
}

View File

@@ -3,6 +3,7 @@ vim.lsp.enable {
"gopls",
"lua_ls",
"clangd",
"rust-analyzer",
}
vim.diagnostic.config { virtual_text = true, underline = true, signs = false }

View File

@@ -1,18 +1,15 @@
vim.g.mapleader = " "
vim.pack.add {
{ src = "https://github.com/mason-org/mason.nvim" },
{ src = "https://github.com/nvim-mini/mini.pick" },
{ src = "https://github.com/rafamadriz/friendly-snippets" },
{
src = "https://github.com/saghen/blink.cmp",
version = "1.*",
},
{ src = "https://github.com/tpope/vim-fugitive" },
{ src = "https://github.com/nvim-lualine/lualine.nvim" },
}
require("mason").setup {}
require("mini.pick").setup {}
require("lualine").setup {}

View File

@@ -1,57 +1,25 @@
{
"plugins": {
"alpha-nvim": {
"rev": "3979b01cb05734331c7873049001d3f2bb8477f4",
"src": "https://github.com/goolord/alpha-nvim"
},
"blink.cmp": {
"rev": "d0c5196dae32c53cde1208161554906f5b982de8",
"src": "https://github.com/saghen/blink.cmp",
"version": "'1.*'"
},
"cyberdream.nvim": {
"rev": "a43b45423e8494898c353c0604e0b2e4e99bd056",
"src": "https://github.com/scottmckendry/cyberdream.nvim"
},
"friendly-snippets": {
"rev": "572f5660cf05f8cd8834e096d7b4c921ba18e175",
"rev": "6cd7280adead7f586db6fccbd15d2cac7e2188b9",
"src": "https://github.com/rafamadriz/friendly-snippets"
},
"lualine.nvim": {
"rev": "47f91c416daef12db467145e16bed5bbfe00add8",
"src": "https://github.com/nvim-lualine/lualine.nvim"
},
"mason.nvim": {
"rev": "57e5a8addb8c71fb063ee4acda466c7cf6ad2800",
"src": "https://github.com/mason-org/mason.nvim"
},
"mini.pick": {
"rev": "0c56dc3ef9b15e9659ce09331fdc82449349701b",
"rev": "8521fe21df86e08d9e4b3c3f3a7d50e47954e1af",
"src": "https://github.com/nvim-mini/mini.pick"
},
"nvim-web-devicons": {
"rev": "6788013bb9cb784e606ada44206b0e755e4323d7",
"src": "https://github.com/nvim-tree/nvim-web-devicons"
},
"orgmode": {
"rev": "cf75da1a91071c6c041075eae4ca2326f9d1f52a",
"src": "https://github.com/nvim-orgmode/orgmode"
},
"rainbow-delimiters.nvim": {
"rev": "d6b802552cbe7d643a3b6b31f419c248d1f1e220",
"src": "https://gitlab.com/HiPhish/rainbow-delimiters.nvim"
},
"simplyfile.nvim": {
"rev": "c4dfc0f3431898c3abbef267b226f6cdd2a67b38",
"src": "https://github.com/Rizwanelansyah/simplyfile.nvim"
},
"vim-fugitive": {
"rev": "61b51c09b7c9ce04e821f6cf76ea4f6f903e3cf4",
"src": "https://github.com/tpope/vim-fugitive"
},
"zen-mode.nvim": {
"rev": "8564ce6d29ec7554eb9df578efa882d33b3c23a7",
"src": "https://github.com/folke/zen-mode.nvim"
"snacks.nvim": {
"rev": "fe7cfe9800a182274d0f868a74b7263b8c0c020b",
"src": "https://github.com/folke/snacks.nvim"
}
}
}