Something went wrong. Try again.
Vim/Neovim configurations just for me
neovim
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199local M = {}
function M.setup() local spec = { { "hrsh7th/nvim-cmp", config = function() require("rc.cmp") end, }, { "hrsh7th/cmp-buffer", dependencies = { "hrsh7th/nvim-cmp" }, event = { "InsertEnter" }, }, { "hrsh7th/cmp-cmdline", dependencies = { "hrsh7th/nvim-cmp" }, event = { "CmdlineEnter" }, }, { "hrsh7th/cmp-nvim-lsp", -- dependencies = { "hrsh7th/nvim-cmp" }, event = { "BufReadPre" }, config = function() vim.lsp.config("*", { capabilities = require("cmp_nvim_lsp").default_capabilities(), }) end, }, { "hrsh7th/cmp-path", dependencies = { "hrsh7th/nvim-cmp" }, event = { "CmdlineEnter", "InsertEnter" }, }, { "hrsh7th/nvim-deck", cmd = { "Deck" }, init = function() vim.keymap.set("n", "<Space>fs", "<Cmd>Deck files<CR>") vim.keymap.set("n", "<Space>fe", "<Cmd>Deck explorer<CR>") vim.keymap.set("n", "<Space>fg", "<Cmd>Deck grep<CR>") end, config = function() require("rc.deck") require("deck").setup({ default_start_config = { matcher = require("deck-zf").matcher(), }, }) end, }, { "futsuuu/nvim-deck-zf", dependencies = { "hrsh7th/nvim-deck" }, build = "mise trust && mise x -- zig build --release", }, { "vim-denops/denops.vim", event = { "VeryLazy" }, }, { "tani/dmacro.vim", event = { "VeryLazy" }, keys = { { "<C-t>", "<Plug>(dmacro-play-macro)", mode = { "i", "n" } }, }, }, { "j-hui/fidget.nvim", event = { "LspAttach" }, init = function() local function notify(...) return require("fidget").notify(...) end vim.notify = notify end, config = function() require("rc.fidget") end, }, { "lewis6991/gitsigns.nvim", event = { "BufRead" }, config = function() require("rc.gitsigns") end, }, { "RRethy/vim-illuminate", event = { "CursorMoved" }, config = function() require("illuminate").configure({ delay = 300, filetypes_denylist = {}, modes_denylist = { "i" }, }) end, }, { "lukas-reineke/indent-blankline.nvim", event = { "BufRead" }, config = function() require("ibl").setup({ indent = { char = "▏" }, scope = { enabled = true, highlight = "CursorLineNr", show_start = false, show_end = false, }, }) end, }, { "hrsh7th/nvim-insx", event = { "CmdlineEnter", "InsertEnter" }, config = function() require("rc.insx") end, }, { "neovim/nvim-lspconfig", event = { "BufReadPre" }, config = function() require("rc.lspconfig") end, }, { "stevearc/oil.nvim", lazy = false, config = function() vim.keymap.set("n", "<Space>e", "<Cmd>Oil<CR>") require("oil").setup({ default_file_explorer = true, }) end, }, { "futsuuu/vim-robot", }, { "skk-dev/dict", init = function(plugin) vim.g.skk_dict_dir = plugin.dir end, }, { "vim-skk/skkeleton", event = { "VeryLazy" }, dependencies = { "vim-denops/denops.vim", "k16em/skkeleton-azik-kanatable", }, config = function() require("rc.skkeleton").setup() end, }, { "k16em/skkeleton-azik-kanatable", }, { "kylechui/nvim-surround", event = { "CursorMoved" }, config = function() require("nvim-surround").setup() end, }, { "nvim-treesitter/nvim-treesitter", lazy = false, build = ":TSUpdate", config = function() require("rc.treesitter") end, }, }
vim.api.nvim_create_autocmd("User", { once = true, pattern = "LazyInstallPre", callback = function() vim.api.nvim_exec_autocmds("User", { pattern = "rc.plugins.InstallPre" }) require("rc.mise").set_env() end, })
require("lazy").setup(spec, { defaults = { lazy = true, }, install = { colorscheme = { "catppuccin" }, }, })end
return M