all repos

init.lua @ 5a3f7cd

my nvim config

init.lua/lua/plugins/core.lua(view raw)

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
---@type LazySpec[]
return {
  "nvim-lua/plenary.nvim",
  "kyazdani42/nvim-web-devicons",
  { "tpope/vim-surround", keys = { "c", "d", "y" } },
  { "tpope/vim-repeat", event = "VeryLazy" },
  { "tweekmonster/helpful.vim", cmd = "HelpfulVersion" },
  { "wakatime/vim-wakatime", event = "VeryLazy" },
  {
    "folke/tokyonight.nvim",
    lazy = false,
    init = function()
      vim.cmd.colorscheme "tokyonight-night"
    end,
  },
  {
    "oysandvik94/curl.nvim",
    opts = { default_flags = { "-i" } },
    cmd = { "CurlOpen", "CurlClose" },
  },
  {
    "folke/todo-comments.nvim",
    event = "BufRead",
    config = true,
  },
  {
    "windwp/nvim-autopairs",
    event = "InsertEnter",
    opts = {
      check_ts = true,
      disable_filetype = { "TelescopePrompt", "markdown" },
    },
  },
  {
    "ahmedkhalf/project.nvim",
    event = "VeryLazy",
    ---@type ProjectOptions
    opts = {
      patterns = {
        "^\\.git$",
        "package.json",
        "go.mod",
        "go.work",
        "Cargo.toml",
        "deps.edn",
      },
    },
    config = function(_, opts)
      require("project_nvim").setup(opts)
    end,
  },
}