This commit is contained in:
asep komarudin 2023-11-30 23:53:17 +07:00
parent 5c5750e874
commit 85419924c2
2 changed files with 136 additions and 134 deletions

View file

@ -5,6 +5,7 @@
"bufdelete.nvim": { "branch": "master", "commit": "07d1f8ba79dec59d42b975a4df1c732b2e4e37b4" }, "bufdelete.nvim": { "branch": "master", "commit": "07d1f8ba79dec59d42b975a4df1c732b2e4e37b4" },
"bufferline.nvim": { "branch": "main", "commit": "6ecd37e0fa8b156099daedd2191130e083fb1490" }, "bufferline.nvim": { "branch": "main", "commit": "6ecd37e0fa8b156099daedd2191130e083fb1490" },
"cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" }, "cmp-buffer": { "branch": "main", "commit": "3022dbc9166796b644a841a02de8dd1cc1d311fa" },
"cmp-cmdline": { "branch": "main", "commit": "8ee981b4a91f536f52add291594e89fb6645e451" },
"cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" }, "cmp-nvim-lsp": { "branch": "main", "commit": "44b16d11215dce86f253ce0c30949813c0a90765" },
"cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" }, "cmp-nvim-lua": { "branch": "main", "commit": "f12408bdb54c39c23e67cab726264c10db33ada8" },
"cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" }, "cmp-path": { "branch": "main", "commit": "91ff86cd9c29299a64f968ebb45846c485725f23" },
@ -25,6 +26,8 @@
"mini.animate": { "branch": "main", "commit": "626c51eba5d344572d6da0938044a73369de8b8b" }, "mini.animate": { "branch": "main", "commit": "626c51eba5d344572d6da0938044a73369de8b8b" },
"mini.indentscope": { "branch": "main", "commit": "c8fdafa7bf603d758986a27eb546c55a5c73b1a3" }, "mini.indentscope": { "branch": "main", "commit": "c8fdafa7bf603d758986a27eb546c55a5c73b1a3" },
"neoscroll.nvim": { "branch": "master", "commit": "e85740d1a54ab0f10127b08c67a291053bc3acfa" }, "neoscroll.nvim": { "branch": "master", "commit": "e85740d1a54ab0f10127b08c67a291053bc3acfa" },
"noice.nvim": { "branch": "main", "commit": "92433164e2f7118d4122c7674c3834d9511722ba" },
"nui.nvim": { "branch": "main", "commit": "9e3916e784660f55f47daa6f26053ad044db5d6a" },
"null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" }, "null-ls.nvim": { "branch": "main", "commit": "0010ea927ab7c09ef0ce9bf28c2b573fc302f5a7" },
"nvim-autopairs": { "branch": "master", "commit": "0f04d78619cce9a5af4f355968040f7d675854a1" }, "nvim-autopairs": { "branch": "master", "commit": "0f04d78619cce9a5af4f355968040f7d675854a1" },
"nvim-cmp": { "branch": "main", "commit": "0b751f6beef40fd47375eaf53d3057e0bfa317e4" }, "nvim-cmp": { "branch": "main", "commit": "0b751f6beef40fd47375eaf53d3057e0bfa317e4" },
@ -32,7 +35,7 @@
"nvim-lsp-installer": { "branch": "main", "commit": "17e0bfa5f2c8854d1636fcd036dc8284db136baa" }, "nvim-lsp-installer": { "branch": "main", "commit": "17e0bfa5f2c8854d1636fcd036dc8284db136baa" },
"nvim-lspconfig": { "branch": "master", "commit": "255e07ce2a05627d482d2de77308bba51b90470c" }, "nvim-lspconfig": { "branch": "master", "commit": "255e07ce2a05627d482d2de77308bba51b90470c" },
"nvim-material-icon": { "branch": "main", "commit": "602088c2682e61cbebd7191de7dc88bfa90c6890" }, "nvim-material-icon": { "branch": "main", "commit": "602088c2682e61cbebd7191de7dc88bfa90c6890" },
"nvim-navic": { "branch": "master", "commit": "0ffa7ffe6588f3417e680439872f5049e38a24db" }, "nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
"nvim-notify": { "branch": "master", "commit": "ea9c8ce7a37f2238f934e087c255758659948e0f" }, "nvim-notify": { "branch": "master", "commit": "ea9c8ce7a37f2238f934e087c255758659948e0f" },
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" }, "nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
"nvim-tree.lua": { "branch": "master", "commit": "05f55c1fd6470b31627655c528245794e3cd4b2c" }, "nvim-tree.lua": { "branch": "master", "commit": "05f55c1fd6470b31627655c528245794e3cd4b2c" },
@ -51,6 +54,5 @@
"vim-repeat": { "branch": "master", "commit": "8106e142dfdc278ff3eaaadd7b362ad7949d4357" }, "vim-repeat": { "branch": "master", "commit": "8106e142dfdc278ff3eaaadd7b362ad7949d4357" },
"vim-startuptime": { "branch": "master", "commit": "daacd02e773944b8de312ddac83f436fae92cbb9" }, "vim-startuptime": { "branch": "master", "commit": "daacd02e773944b8de312ddac83f436fae92cbb9" },
"vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" }, "vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" },
"which-key.nvim": { "branch": "main", "commit": "ce741eb559c924d72e3a67d2189ad3771a231414" }, "which-key.nvim": { "branch": "main", "commit": "ce741eb559c924d72e3a67d2189ad3771a231414" }
"wilder.nvim": { "branch": "master", "commit": "679f348dc90d80ff9ba0e7c470c40a4d038dcecf" }
} }

View file

@ -7,135 +7,135 @@ if vim.g.neovide then
end end
vim.opt.lazyredraw = is_neovide vim.opt.lazyredraw = is_neovide
return { return {
-- { "gelguy/wilder.nvim", enabled = false }, { "gelguy/wilder.nvim", enabled = false },
-- { {
-- "folke/noice.nvim", "folke/noice.nvim",
-- enabled = use_noice, enabled = use_noice,
-- dependencies = { dependencies = {
-- { "MunifTanjim/nui.nvim", enabled = use_noice }, { "MunifTanjim/nui.nvim", enabled = use_noice },
-- }, },
-- event = "BufWinEnter", event = "BufWinEnter",
-- opts = { opts = {
-- messages = { messages = {
-- enabled = false, enabled = false,
-- }, },
-- notify = { notify = {
-- enabled = false, enabled = false,
-- }, },
-- lsp = { lsp = {
-- progress = { progress = {
-- enabled = false, enabled = false,
-- }, },
-- hover = { hover = {
-- enabled = false, enabled = false,
-- }, },
-- signature = { signature = {
-- enabled = false, enabled = false,
-- }, },
-- }, },
-- }, },
-- keys = { keys = {
-- { {
-- "<S-Enter>", "<S-Enter>",
-- function() function()
-- require("noice").redirect(vim.fn.getcmdline()) require("noice").redirect(vim.fn.getcmdline())
-- end, end,
-- mode = "c", mode = "c",
-- desc = "Redirect Cmdline", desc = "Redirect Cmdline",
-- }, },
-- { {
-- "<leader>snl", "<leader>snl",
-- function() function()
-- require("noice").cmd("last") require("noice").cmd("last")
-- end, end,
-- desc = "Noice Last Message", desc = "Noice Last Message",
-- }, },
-- { {
-- "<leader>snh", "<leader>snh",
-- function() function()
-- require("noice").cmd("history") require("noice").cmd("history")
-- end, end,
-- desc = "Noice History", desc = "Noice History",
-- }, },
-- { {
-- "<leader>sna", "<leader>sna",
-- function() function()
-- require("noice").cmd("all") require("noice").cmd("all")
-- end, end,
-- desc = "Noice All", desc = "Noice All",
-- }, },
-- { {
-- "<c-f>", "<c-f>",
-- function() function()
-- if not require("noice.lsp").scroll(4) then if not require("noice.lsp").scroll(4) then
-- return "<c-f>" return "<c-f>"
-- end end
-- end, end,
-- silent = true, silent = true,
-- expr = true, expr = true,
-- desc = "Scroll forward", desc = "Scroll forward",
-- mode = { "i", "n", "s" }, mode = { "i", "n", "s" },
-- }, },
-- { {
-- "<c-b>", "<c-b>",
-- function() function()
-- if not require("noice.lsp").scroll(-4) then if not require("noice.lsp").scroll(-4) then
-- return "<c-b>" return "<c-b>"
-- end end
-- end, end,
-- silent = true, silent = true,
-- expr = true, expr = true,
-- desc = "Scroll backward", desc = "Scroll backward",
-- mode = { "i", "n", "s" }, mode = { "i", "n", "s" },
-- }, },
-- }, },
-- }, },
-- { {
-- "hrsh7th/cmp-cmdline", "hrsh7th/cmp-cmdline",
-- event = "VeryLazy", event = "VeryLazy",
-- config = function() config = function()
-- local cmp = require("cmp") local cmp = require("cmp")
-- local mapping = { local mapping = {
-- ["<CR>"] = cmp.mapping.confirm({ select = true }), ["<CR>"] = cmp.mapping.confirm({ select = true }),
-- ["<Up>"] = cmp.mapping(cmp.mapping.select_prev_item(), { "i", "c" }), ["<Up>"] = cmp.mapping(cmp.mapping.select_prev_item(), { "i", "c" }),
-- ["<S-Tab>"] = cmp.mapping(cmp.mapping.select_prev_item(), { "i", "c" }), ["<S-Tab>"] = cmp.mapping(cmp.mapping.select_prev_item(), { "i", "c" }),
-- ["<Down>"] = cmp.mapping(cmp.mapping.select_next_item(), { "i", "c" }), ["<Down>"] = cmp.mapping(cmp.mapping.select_next_item(), { "i", "c" }),
-- ["<Tab>"] = cmp.mapping(cmp.mapping.select_next_item(), { "i", "c" }), ["<Tab>"] = cmp.mapping(cmp.mapping.select_next_item(), { "i", "c" }),
-- } }
--
-- -- Use buffer source for `/`. -- Use buffer source for `/`.
-- cmp.setup.cmdline("/", { cmp.setup.cmdline("/", {
-- preselect = "none", preselect = "none",
-- completion = { completion = {
-- completeopt = "menu,preview,menuone,noselect", completeopt = "menu,preview,menuone,noselect",
-- }, },
-- mapping = mapping, mapping = mapping,
-- sources = { sources = {
-- { name = "buffer" }, { name = "buffer" },
-- }, },
-- experimental = { experimental = {
-- ghost_text = true, ghost_text = true,
-- native_menu = false, native_menu = false,
-- }, },
-- }) })
--
-- -- Use cmdline & path source for ':'. -- Use cmdline & path source for ':'.
-- cmp.setup.cmdline(":", { cmp.setup.cmdline(":", {
-- preselect = "none", preselect = "none",
-- completion = { completion = {
-- completeopt = "menu,preview,menuone,noselect", completeopt = "menu,preview,menuone,noselect",
-- }, },
-- mapping = mapping, mapping = mapping,
-- sources = cmp.config.sources({ sources = cmp.config.sources({
-- { name = "path" }, { name = "path" },
-- }, { }, {
-- { name = "cmdline" }, { name = "cmdline" },
-- }), }),
-- experimental = { experimental = {
-- ghost_text = true, ghost_text = true,
-- native_menu = false, native_menu = false,
-- }, },
-- }) })
-- end, end,
-- }, },
} }