update cmp

This commit is contained in:
asep komarudin 2023-02-15 00:09:12 +07:00
parent ccebb0c28e
commit 97de102c92
9 changed files with 123 additions and 109 deletions

View file

@ -20,40 +20,38 @@
"jaq-nvim": { "branch": "master", "commit": "236296aae555657487d1bb4d066cbde9d79d8cd4" }, "jaq-nvim": { "branch": "master", "commit": "236296aae555657487d1bb4d066cbde9d79d8cd4" },
"lazy.nvim": { "branch": "main", "commit": "c778b7aa04c484e1536ba219e71f2fd0f05302aa" }, "lazy.nvim": { "branch": "main", "commit": "c778b7aa04c484e1536ba219e71f2fd0f05302aa" },
"live-server": { "branch": "main", "commit": "ecd7c1418823b65dd2bca710587c80afe42c973e" }, "live-server": { "branch": "main", "commit": "ecd7c1418823b65dd2bca710587c80afe42c973e" },
"lualine.nvim": { "branch": "master", "commit": "0050b308552e45f7128f399886c86afefc3eb988" }, "lualine.nvim": { "branch": "master", "commit": "e99d733e0213ceb8f548ae6551b04ae32e590c80" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "e2b82cf4c68b453eeab5833d90c042ed4b49d0e1" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "93e58e100f37ef4fb0f897deeed20599dae9d128" },
"mason-null-ls.nvim": { "branch": "main", "commit": "9ad7503c32545ee6e8000e52d9ae4a93d49231fb" }, "mason-null-ls.nvim": { "branch": "main", "commit": "9ad7503c32545ee6e8000e52d9ae4a93d49231fb" },
"mason.nvim": { "branch": "main", "commit": "5a39046048da93f6873945129b2f9f12f56ca37d" }, "mason.nvim": { "branch": "main", "commit": "eb6010ac97e9b510ddce8d28b6925ff6b046eab2" },
"mini.indentscope": { "branch": "main", "commit": "f3bbd793fac80638bb5f4ef173eb514170aa22b3" }, "mini.indentscope": { "branch": "main", "commit": "d3e907b13298b0fc60db289fb804be7e9c561922" },
"neoscroll.nvim": { "branch": "master", "commit": "d7601c26c8a183fa8994ed339e70c2d841253e93" }, "neoscroll.nvim": { "branch": "master", "commit": "d7601c26c8a183fa8994ed339e70c2d841253e93" },
"null-ls.nvim": { "branch": "main", "commit": "d4594231a06cecce73a78a256b0d7c7ab51f7dd5" }, "null-ls.nvim": { "branch": "main", "commit": "9d811bb6ed44cf766f4bda8a47fd65fdfbdcaa7d" },
"nvim-autopairs": { "branch": "master", "commit": "4fc96c8f3df89b6d23e5092d31c866c53a346347" }, "nvim-autopairs": { "branch": "master", "commit": "4fc96c8f3df89b6d23e5092d31c866c53a346347" },
"nvim-cmp": { "branch": "main", "commit": "aae0c3e4e778ca4be6fabc52e388cbd5b844b7a5" }, "nvim-cmp": { "branch": "main", "commit": "c4128bcd131fb7152bda8f8dd2b5e41d2fefa88c" },
"nvim-colorizer.lua": { "branch": "master", "commit": "760e27df4dd966607e8fb7fd8b6b93e3c7d2e193" }, "nvim-colorizer.lua": { "branch": "master", "commit": "760e27df4dd966607e8fb7fd8b6b93e3c7d2e193" },
"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-navic": { "branch": "master", "commit": "7e9d2b2b601149fecdccd11b516acb721e571fe6" }, "nvim-navic": { "branch": "master", "commit": "7e9d2b2b601149fecdccd11b516acb721e571fe6" },
"nvim-notify": { "branch": "master", "commit": "bdd647f61a05c9b8a57c83b78341a0690e9c29d7" }, "nvim-notify": { "branch": "master", "commit": "bdd647f61a05c9b8a57c83b78341a0690e9c29d7" },
"nvim-scrollview": { "branch": "main", "commit": "ba6c48bf7919dd48a371e7b9c683b8858053e885" }, "nvim-scrollview": { "branch": "main", "commit": "ba6c48bf7919dd48a371e7b9c683b8858053e885" },
"nvim-tree.lua": { "branch": "master", "commit": "8b8d457e07d279976a9baac6bbff5aa036afdc5f" }, "nvim-tree.lua": { "branch": "master", "commit": "4222bb875d86a2a53069c75c4833e27f58e26d90" },
"nvim-treesitter": { "branch": "master", "commit": "69388e84c34d40c3d5c7d2f310db13276f2179e1" }, "nvim-treesitter": { "branch": "master", "commit": "ad9ae9e7def54fee446c3e186ed0a0d44cca7b90" },
"nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" }, "nvim-ts-autotag": { "branch": "main", "commit": "fdefe46c6807441460f11f11a167a2baf8e4534b" },
"nvim-ts-context-commentstring": { "branch": "main", "commit": "a0f89563ba36b3bacd62cf967b46beb4c2c29e52" }, "nvim-ts-context-commentstring": { "branch": "main", "commit": "a0f89563ba36b3bacd62cf967b46beb4c2c29e52" },
"nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" }, "nvim-ts-rainbow": { "branch": "master", "commit": "ef95c15a935f97c65a80e48e12fe72d49aacf9b9" },
"nvim-web-devicons": { "branch": "master", "commit": "bd7a222287c5828cd0607cd0a5605e52f0460074" }, "nvim-web-devicons": { "branch": "master", "commit": "bb6d4fd1e010300510172b173ab5205d37af084f" },
"plenary.nvim": { "branch": "master", "commit": "9d81624fbcedd3dd43b38d7e13a1e7b3f873d8cd" }, "plenary.nvim": { "branch": "master", "commit": "9d81624fbcedd3dd43b38d7e13a1e7b3f873d8cd" },
"smart-splits.nvim": { "branch": "master", "commit": "fdd158ce7554dc830fb86e0fe952cd9476cdf726" }, "smart-splits.nvim": { "branch": "master", "commit": "b38431f1f68bc43d6bf9d1edb21c2bcb06b1197c" },
"symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" }, "symbols-outline.nvim": { "branch": "master", "commit": "512791925d57a61c545bc303356e8a8f7869763c" },
"telescope.nvim": { "branch": "master", "commit": "203bf5609137600d73e8ed82703d6b0e320a5f36" }, "telescope.nvim": { "branch": "master", "commit": "203bf5609137600d73e8ed82703d6b0e320a5f36" },
"todo-comments.nvim": { "branch": "main", "commit": "077c59586d9d0726b0696dc5680eb863f4e04bc5" }, "todo-comments.nvim": { "branch": "main", "commit": "077c59586d9d0726b0696dc5680eb863f4e04bc5" },
"toggleterm.nvim": { "branch": "main", "commit": "2a787c426ef00cb3488c11b14f5dcf892bbd0bda" }, "toggleterm.nvim": { "branch": "main", "commit": "2a787c426ef00cb3488c11b14f5dcf892bbd0bda" },
"tokyonight.nvim": { "branch": "main", "commit": "a0abe53df53616d13da327636cb0bcac3ea7f5af" }, "tokyonight.nvim": { "branch": "main", "commit": "a0abe53df53616d13da327636cb0bcac3ea7f5af" },
"trouble.nvim": { "branch": "main", "commit": "556ef3089709a6e253df1e500381fec5eb48e48a" },
"vim-bbye": { "branch": "master", "commit": "903f5eb17f72ebf7b0b1524bbb792c0b36761af6" }, "vim-bbye": { "branch": "master", "commit": "903f5eb17f72ebf7b0b1524bbb792c0b36761af6" },
"vim-illuminate": { "branch": "master", "commit": "49062ab1dd8fec91833a69f0a1344223dd59d643" }, "vim-illuminate": { "branch": "master", "commit": "49062ab1dd8fec91833a69f0a1344223dd59d643" },
"vim-startuptime": { "branch": "master", "commit": "5f52ed26e0296a3e1d1453935f417e5808eefab8" }, "vim-startuptime": { "branch": "master", "commit": "5f52ed26e0296a3e1d1453935f417e5808eefab8" },
"vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" }, "vim-visual-multi": { "branch": "master", "commit": "1c9207b28c8898ab01b54e6d6b61b0b820a814bc" },
"which-key.nvim": { "branch": "main", "commit": "5224c261825263f46f6771f1b644cae33cd06995" }, "which-key.nvim": { "branch": "main", "commit": "5224c261825263f46f6771f1b644cae33cd06995" },
"wilder.nvim": { "branch": "master", "commit": "679f348dc90d80ff9ba0e7c470c40a4d038dcecf" },
"yanky.nvim": { "branch": "main", "commit": "9fb1c211775b5a6c83b9fe806cfd99f68c65f8a0" } "yanky.nvim": { "branch": "main", "commit": "9fb1c211775b5a6c83b9fe806cfd99f68c65f8a0" }
} }

View file

@ -83,9 +83,8 @@ return {
documentation = cmp.config.window.bordered(), documentation = cmp.config.window.bordered(),
}, },
experimental = { experimental = {
ghost_text = { ghost_text = false,
hl_group = "LspCodeLens", native_menu = false,
},
}, },
} }
end, end,

View file

@ -30,20 +30,20 @@ return {
-- }, -- },
-- for auto complate commond mode -- for auto complate commond mode
{ -- {
"gelguy/wilder.nvim", -- "gelguy/wilder.nvim",
event = "BufWinEnter", -- event = "BufWinEnter",
config = function() -- config = function()
local wilder = require("wilder") -- local wilder = require("wilder")
wilder.setup({ modes = { ":", "/", "?" } }) -- wilder.setup({ modes = { ":", "/", "?" } })
wilder.set_option( -- wilder.set_option(
"renderer", -- "renderer",
wilder.popupmenu_renderer({ -- wilder.popupmenu_renderer({
highlighter = wilder.basic_highlighter(), -- highlighter = wilder.basic_highlighter(),
left = { " ", wilder.popupmenu_devicons() }, -- left = { " ", wilder.popupmenu_devicons() },
right = { " ", wilder.popupmenu_scrollbar() }, -- right = { " ", wilder.popupmenu_scrollbar() },
}) -- })
) -- )
end, -- end,
}, -- },
} }

View file

@ -307,7 +307,7 @@ return {
"lewis6991/gitsigns.nvim", "lewis6991/gitsigns.nvim",
enabled = vim.fn.executable("git") == 1, enabled = vim.fn.executable("git") == 1,
ft = "gitcommit", ft = "gitcommit",
event = "BufRead", event = "VeryLazy",
config = function() config = function()
require("user.gitsigns") require("user.gitsigns")
end, end,
@ -337,16 +337,16 @@ return {
-- makes some plugins dot-repeatable like leap -- makes some plugins dot-repeatable like leap
-- { "tpope/vim-repeat", event = "VeryLazy" }, -- { "tpope/vim-repeat", event = "VeryLazy" },
-- better diagnostics list and others -- better diagnostics list and others
{ -- {
"folke/trouble.nvim", -- "folke/trouble.nvim",
event = "BufRead", -- event = "BufRead",
cmd = { "TroubleToggle", "Trouble" }, -- cmd = { "TroubleToggle", "Trouble" },
opts = { use_diagnostic_signs = true }, -- opts = { use_diagnostic_signs = true },
keys = { -- keys = {
{ "<leader>xx", "<cmd>TroubleToggle document_diagnostics<cr>", desc = "Document Diagnostics (Trouble)" }, -- { "<leader>xx", "<cmd>TroubleToggle document_diagnostics<cr>", desc = "Document Diagnostics (Trouble)" },
{ "<leader>xX", "<cmd>TroubleToggle workspace_diagnostics<cr>", desc = "Workspace Diagnostics (Trouble)" }, -- { "<leader>xX", "<cmd>TroubleToggle workspace_diagnostics<cr>", desc = "Workspace Diagnostics (Trouble)" },
}, -- },
}, -- },
-- for markdown preview -- for markdown preview
-- make sure already install npm and yarn -- make sure already install npm and yarn
-- { -- {

View file

@ -93,8 +93,8 @@ return {
{ {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
-- dependencies = { "kyazdani42/nvim-web-devicons", opt = true }, -- dependencies = { "kyazdani42/nvim-web-devicons", opt = true },
event = "BufWinEnter", event = "VeryLazy",
config = function() init = function()
local model = 0 local model = 0
if model == 1 then if model == 1 then
require("user.lualine1") require("user.lualine1")
@ -116,9 +116,9 @@ return {
-- for tree exploler -- for tree exploler
{ {
"kyazdani42/nvim-tree.lua", "kyazdani42/nvim-tree.lua",
-- event = "BufRead", event = "BufWinEnter",
cmd = "NvimTreeToggle", cmd = "NvimTreeToggle",
-- dependencies = "kyazdani42/nvim-web-devicons", dependencies = "kyazdani42/nvim-web-devicons",
config = function() config = function()
require("user.nvim-tree") require("user.nvim-tree")
end, end,

View file

@ -1,14 +1,14 @@
return { return {
{ {
"nvim-lua/plenary.nvim", "nvim-lua/plenary.nvim",
commit = "4b7e52044bbb84242158d977a50c4cbcd85070c7", -- commit = "4b7e52044bbb84242158d977a50c4cbcd85070c7",
event = "BufWinEnter", event = "BufWinEnter",
module = "plenary", module = "plenary",
}, },
-- color scheme -- color scheme
{ {
"folke/tokyonight.nvim", "folke/tokyonight.nvim",
commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764", -- commit = "66bfc2e8f754869c7b651f3f47a2ee56ae557764",
lazy = false, -- make sure we load this during startup if it is your main colorscheme lazy = false, -- make sure we load this during startup if it is your main colorscheme
priority = 1000, -- make sure to load this before all the other start plugins priority = 1000, -- make sure to load this before all the other start plugins
config = function() config = function()
@ -20,15 +20,16 @@ return {
end end
end, end,
}, },
{ { "luisiacc/gruvbox-baby", lazy = true },
"navarasu/onedark.nvim", -- {
init = function() -- "navarasu/onedark.nvim",
require("user.onedark") -- init = function()
require("onedark").load() -- require("user.onedark")
end, -- require("onedark").load()
}, -- end,
-- },
-- { "lunarvim/lunar.nvim" }, -- { "lunarvim/lunar.nvim" },
{ "arcticicestudio/nord-vim" }, -- { "arcticicestudio/nord-vim" },
-- { -- {
-- "catppuccin/nvim", -- "catppuccin/nvim",
-- name = "catppuccin", -- name = "catppuccin",
@ -72,7 +73,7 @@ return {
-- require("plugins.treesitter"), -- require("plugins.treesitter"),
{ {
"nvim-treesitter/nvim-treesitter", "nvim-treesitter/nvim-treesitter",
commit = "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac", -- commit = "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac",
run = ":TSUpdate", run = ":TSUpdate",
event = "BufWinEnter", event = "BufWinEnter",
opts = function() opts = function()
@ -131,7 +132,7 @@ return {
}, },
{ {
"numToStr/Comment.nvim", "numToStr/Comment.nvim",
commit = "97a188a98b5a3a6f9b1b850799ac078faa17ab67", --commit = "97a188a98b5a3a6f9b1b850799ac078faa17ab67",
event = "InsertEnter", event = "InsertEnter",
init = function() init = function()
require("user.comment") require("user.comment")
@ -140,7 +141,7 @@ return {
-- styleing indent -- styleing indent
{ {
"lukas-reineke/indent-blankline.nvim", "lukas-reineke/indent-blankline.nvim",
commit = "db7cbcb40cc00fc5d6074d7569fb37197705e7f6", -- commit = "db7cbcb40cc00fc5d6074d7569fb37197705e7f6",
event = "BufRead", event = "BufRead",
init = function() init = function()
require("user.indentline") require("user.indentline")
@ -149,18 +150,18 @@ return {
{ {
"hrsh7th/cmp-buffer", "hrsh7th/cmp-buffer",
event = "VeryLazy", event = "VeryLazy",
commit = "3022dbc9166796b644a841a02de8dd1cc1d311fa", -- commit = "3022dbc9166796b644a841a02de8dd1cc1d311fa",
dependencies = "hrsh7th/nvim-cmp", dependencies = "hrsh7th/nvim-cmp",
}, },
{ {
"hrsh7th/cmp-nvim-lua", "hrsh7th/cmp-nvim-lua",
event = "VeryLazy", event = "VeryLazy",
commit = "d276254e7198ab7d00f117e88e223b4bd8c02d21", -- commit = "d276254e7198ab7d00f117e88e223b4bd8c02d21",
dependencies = "hrsh7th/nvim-cmp", dependencies = "hrsh7th/nvim-cmp",
}, },
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda", -- commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda",
event = "BufWinEnter", event = "BufWinEnter",
config = function() config = function()
require("user.lsp") require("user.lsp")
@ -172,7 +173,7 @@ return {
}, },
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
commit = "c2002d7a6b5a72ba02388548cfaf420b864fbc12", -- commit = "c2002d7a6b5a72ba02388548cfaf420b864fbc12",
event = "VeryLazy", event = "VeryLazy",
cmd = { cmd = {
"Mason", "Mason",
@ -189,8 +190,16 @@ return {
end, end,
}, },
-- for formater linter -- for formater linter
{ "jose-elias-alvarez/null-ls.nvim", commit = "c0c19f32b614b3921e17886c541c13a72748d450", event = "VeryLazy" }, {
{ "RRethy/vim-illuminate", commit = "a2e8476af3f3e993bb0d6477438aad3096512e42", event = "VeryLazy" }, "jose-elias-alvarez/null-ls.nvim",
-- commit = "c0c19f32b614b3921e17886c541c13a72748d450",
event = "VeryLazy",
},
{
"RRethy/vim-illuminate",
-- commit = "a2e8476af3f3e993bb0d6477438aad3096512e42",
event = "VeryLazy",
},
{ {
"jayp0521/mason-null-ls.nvim", "jayp0521/mason-null-ls.nvim",
dependencies = "jose-elias-alvarez/null-ls.nvim", dependencies = "jose-elias-alvarez/null-ls.nvim",
@ -202,7 +211,7 @@ return {
-- dashboard -- dashboard
{ {
"goolord/alpha-nvim", "goolord/alpha-nvim",
commit = "0bb6fc0646bcd1cdb4639737a1cee8d6e08bcc31", -- commit = "0bb6fc0646bcd1cdb4639737a1cee8d6e08bcc31",
module = "alpha", module = "alpha",
event = "BufWinEnter", event = "BufWinEnter",
config = function() config = function()
@ -212,7 +221,7 @@ return {
-- line info bootom -- line info bootom
{ {
"nvim-lualine/lualine.nvim", "nvim-lualine/lualine.nvim",
commit = "a52f078026b27694d2290e34efa61a6e4a690621", -- commit = "a52f078026b27694d2290e34efa61a6e4a690621",
dependencies = { "kyazdani42/nvim-web-devicons", opt = true }, dependencies = { "kyazdani42/nvim-web-devicons", opt = true },
event = "BufWinEnter", event = "BufWinEnter",
opts = function() opts = function()
@ -229,7 +238,7 @@ return {
-- for show icon -- for show icon
{ {
"kyazdani42/nvim-web-devicons", "kyazdani42/nvim-web-devicons",
commit = "563f3635c2d8a7be7933b9e547f7c178ba0d4352", -- commit = "563f3635c2d8a7be7933b9e547f7c178ba0d4352",
event = "VeryLazy", event = "VeryLazy",
config = function() config = function()
require("user.webdevicons") require("user.webdevicons")
@ -238,7 +247,7 @@ return {
-- for tree exploler -- for tree exploler
{ {
"kyazdani42/nvim-tree.lua", "kyazdani42/nvim-tree.lua",
commit = "7282f7de8aedf861fe0162a559fc2b214383c51c", -- commit = "7282f7de8aedf861fe0162a559fc2b214383c51c",
event = "BufWinEnter", event = "BufWinEnter",
cmd = "NvimTreeToggle", cmd = "NvimTreeToggle",
dependencies = "kyazdani42/nvim-web-devicons", dependencies = "kyazdani42/nvim-web-devicons",
@ -249,28 +258,36 @@ return {
-- for file tab -- for file tab
{ {
"akinsho/bufferline.nvim", "akinsho/bufferline.nvim",
commit = "83bf4dc7bff642e145c8b4547aa596803a8b4dc4", -- commit = "83bf4dc7bff642e145c8b4547aa596803a8b4dc4",
dependencies = { "kyazdani42/nvim-web-devicons", "famiu/bufdelete.nvim" }, dependencies = { "kyazdani42/nvim-web-devicons", "famiu/bufdelete.nvim" },
event = "VeryLazy", event = "VeryLazy",
-- config = function() -- config = function()
-- require("user.bufferline") -- require("user.bufferline")
-- end, -- end,
}, },
{ "moll/vim-bbye", commit = "25ef93ac5a87526111f43e5110675032dbcacf56", event = "VeryLazy" }, {
"moll/vim-bbye",
-- commit = "25ef93ac5a87526111f43e5110675032dbcacf56",
event = "VeryLazy",
},
-- for view terminal -- for view terminal
{ {
"akinsho/toggleterm.nvim", "akinsho/toggleterm.nvim",
commit = "2a787c426ef00cb3488c11b14f5dcf892bbd0bda", --commit = "2a787c426ef00cb3488c11b14f5dcf892bbd0bda",
cmd = "Toggleterm", cmd = "Toggleterm",
event = "BufWinEnter", event = "BufWinEnter",
init = function() init = function()
require("user.toggleterm") require("user.toggleterm")
end, end,
}, },
{ "ahmedkhalf/project.nvim", commit = "628de7e433dd503e782831fe150bb750e56e55d6", event = "VeryLazy" }, {
"ahmedkhalf/project.nvim",
-- commit = "628de7e433dd503e782831fe150bb750e56e55d6",
event = "VeryLazy",
},
{ {
"lewis6991/impatient.nvim", "lewis6991/impatient.nvim",
commit = "b842e16ecc1a700f62adb9802f8355b99b52a5a6", -- commit = "b842e16ecc1a700f62adb9802f8355b99b52a5a6",
event = "VeryLazy", event = "VeryLazy",
init = function() init = function()
require("user.impatient") require("user.impatient")
@ -291,7 +308,7 @@ return {
{ {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
event = "VeryLazy", event = "VeryLazy",
commit = "76ea9a898d3307244dce3573392dcf2cc38f340f", -- commit = "76ea9a898d3307244dce3573392dcf2cc38f340f",
dependencies = { { "nvim-lua/plenary.nvim" } }, dependencies = { { "nvim-lua/plenary.nvim" } },
cmd = "Telescope", cmd = "Telescope",
init = function() init = function()
@ -465,7 +482,7 @@ return {
{ "p00f/nvim-ts-rainbow", event = "BufWinEnter", dependencies = "nvim-treesitter/nvim-treesitter" }, { "p00f/nvim-ts-rainbow", event = "BufWinEnter", dependencies = "nvim-treesitter/nvim-treesitter" },
{ {
"lewis6991/gitsigns.nvim", "lewis6991/gitsigns.nvim",
commit = "2c6f96dda47e55fa07052ce2e2141e8367cbaaf2", -- commit = "2c6f96dda47e55fa07052ce2e2141e8367cbaaf2",
enabled = vim.fn.executable("git") == 1, enabled = vim.fn.executable("git") == 1,
ft = "gitcommit", ft = "gitcommit",
event = "VeryLazy", event = "VeryLazy",
@ -509,17 +526,17 @@ return {
}, },
}, },
-- for markdown preview -- for markdown preview
-- make sure already install npm and yarn -- -- make sure already install npm and yarn
{ -- {
"iamcco/markdown-preview.nvim", -- "iamcco/markdown-preview.nvim",
event = "VeryLazy", -- event = "VeryLazy",
build = "cd app && npm install", -- build = "cd app && npm install",
init = function() -- init = function()
vim.g.mkdp_filetypes = { "markdown" } -- vim.g.mkdp_filetypes = { "markdown" }
end, -- end,
ft = { "markdown" }, -- ft = { "markdown" },
cmd = { "MarkdownPreview", "MarkdownPreviewStop", "MarkdownPreviewToggle" }, -- cmd = { "MarkdownPreview", "MarkdownPreviewStop", "MarkdownPreviewToggle" },
}, -- },
-- debuging -- debuging
{ {
"mfussenegger/nvim-dap", "mfussenegger/nvim-dap",
@ -544,25 +561,25 @@ return {
end, end,
}, },
-- for codeGPT -- for codeGPT
{ -- {
"jackMort/ChatGPT.nvim", -- "jackMort/ChatGPT.nvim",
dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim" }, -- dependencies = { "MunifTanjim/nui.nvim", "nvim-lua/plenary.nvim", "nvim-telescope/telescope.nvim" },
lazy = true, -- lazy = true,
event = "VeryLazy", -- event = "VeryLazy",
-- opts = function() -- -- opts = function()
-- require("user.chat_gpt") -- -- require("user.chat_gpt")
-- end, -- -- end,
}, -- },
-- indent detection -- indent detection
{ -- {
"Darazaki/indent-o-matic", -- "Darazaki/indent-o-matic",
event = "VeryLazy", -- event = "VeryLazy",
opt = true, -- opt = true,
cmd = { "IndentOMatic" }, -- cmd = { "IndentOMatic" },
config = function() -- config = function()
require("user.indent-o-matic") -- require("user.indent-o-matic")
end, -- end,
}, -- },
-- Lsp Saga -- Lsp Saga
-- { -- {
-- "glepnir/lspsaga.nvim", -- "glepnir/lspsaga.nvim",

View file

@ -1,9 +1,9 @@
local status_ok, _ = pcall(require, "lspconfig") local status_ok, _ = pcall(require, "lspconfig")
if not status_ok then if not status_ok then
return return
end end
require "user.lsp.mason" require("user.lsp.mason")
require "user.lsp.config" -- ini hanya untuk windows supaya jdtls jalan, kalau pakai linu x remark saja require("user.lsp.config") -- ini hanya untuk windows supaya jdtls jalan, kalau pakai linu x remark saja
require("user.lsp.handlers").setup() require("user.lsp.handlers").setup()
require "user.lsp.null-ls" require("user.lsp.null-ls")