My simple neovim config
1return {
2 { "neovim/nvim-lspconfig" },
3 {
4 "mrcjkb/rustaceanvim",
5 version = "^5",
6 ft = { "rust" },
7 },
8 -- Filetype plugins
9 {
10 "Saecki/crates.nvim",
11 event = "BufRead Cargo.toml",
12 dependencies = { "nvim-lua/plenary.nvim" },
13 opts = {
14 lsp = {
15 enabled = true,
16 actions = true,
17 completion = true,
18 hover = true,
19 },
20 },
21 },
22 "ziglang/zig.vim",
23
24 {
25 "saghen/blink.cmp",
26 version = "1.*",
27 opts = {
28 completion = {
29 documentation = {
30 auto_show = true,
31 auto_show_delay_ms = 500,
32 },
33 },
34 keymap = {
35 preset = "default",
36 ["<C-j>"] = { "select_next", "fallback" },
37 ["<C-k>"] = { "select_prev", "fallback" },
38 },
39 },
40 },
41 -- Treesitter
42 {
43 "nvim-treesitter/nvim-treesitter",
44 build = ":TSUpdate",
45 },
46 "nvim-treesitter/nvim-treesitter-context",
47 -- UI
48 {
49 "EdenEast/nightfox.nvim",
50 config = function()
51 -- NOTE: you do not need to call setup if you don't want to.
52 vim.cmd.colorscheme("carbonfox")
53 end,
54 },
55 {
56 "ethanholz/nvim-lastplace",
57 config = true,
58 },
59 "mbbill/undotree",
60 {
61 "folke/which-key.nvim",
62 config = true,
63 },
64}