This commit is contained in:
asep komarudin 2023-02-01 20:01:28 +07:00
parent e21884b7e4
commit 878c12feaf
4 changed files with 40 additions and 17 deletions

View file

@ -22,8 +22,8 @@
"live-server": { "branch": "main", "commit": "ecd7c1418823b65dd2bca710587c80afe42c973e" }, "live-server": { "branch": "main", "commit": "ecd7c1418823b65dd2bca710587c80afe42c973e" },
"lualine.nvim": { "branch": "master", "commit": "a52f078026b27694d2290e34efa61a6e4a690621" }, "lualine.nvim": { "branch": "master", "commit": "a52f078026b27694d2290e34efa61a6e4a690621" },
"markdown-preview.nvim": { "branch": "master", "commit": "9becceee5740b7db6914da87358a183ad11b2049" }, "markdown-preview.nvim": { "branch": "master", "commit": "9becceee5740b7db6914da87358a183ad11b2049" },
"mason-lspconfig.nvim": { "branch": "main", "commit": "422b9745143150e16cd3fe331c74f6737de75e72" }, "mason-lspconfig.nvim": { "branch": "main", "commit": "53f3a8bdcb77d4a95b082fd57e12173f353c6c3e" },
"mason-null-ls.nvim": { "branch": "main", "commit": "93946aef86b1409958c97ee5feaf30bdd1053e24" }, "mason-null-ls.nvim": { "branch": "main", "commit": "13c6ab4a4f810cbbb1799a9cf4d4a27fd862d885" },
"mason.nvim": { "branch": "main", "commit": "c2002d7a6b5a72ba02388548cfaf420b864fbc12" }, "mason.nvim": { "branch": "main", "commit": "c2002d7a6b5a72ba02388548cfaf420b864fbc12" },
"mini.ai": { "branch": "main", "commit": "14a1382372195573c6c7f494ab8bb298b03e6f04" }, "mini.ai": { "branch": "main", "commit": "14a1382372195573c6c7f494ab8bb298b03e6f04" },
"mini.comment": { "branch": "main", "commit": "e5294cc3e75bafb2369f235d31a98b01a9cc67ad" }, "mini.comment": { "branch": "main", "commit": "e5294cc3e75bafb2369f235d31a98b01a9cc67ad" },
@ -43,7 +43,7 @@
"nvim-scrollview": { "branch": "main", "commit": "ba6c48bf7919dd48a371e7b9c683b8858053e885" }, "nvim-scrollview": { "branch": "main", "commit": "ba6c48bf7919dd48a371e7b9c683b8858053e885" },
"nvim-tree.lua": { "branch": "master", "commit": "7282f7de8aedf861fe0162a559fc2b214383c51c" }, "nvim-tree.lua": { "branch": "master", "commit": "7282f7de8aedf861fe0162a559fc2b214383c51c" },
"nvim-treesitter": { "branch": "master", "commit": "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac" }, "nvim-treesitter": { "branch": "master", "commit": "8e763332b7bf7b3a426fd8707b7f5aa85823a5ac" },
"nvim-treesitter-textobjects": { "branch": "master", "commit": "9011d333aa411ae71ca8762ca3a277ce6b9e6527" }, "nvim-treesitter-textobjects": { "branch": "master", "commit": "249d90a84df63f3ffff65fcc06a45d58415672de" },
"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" },

View file

@ -12,7 +12,7 @@ return {
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()
local is_transparant = true local is_transparant = false
if is_transparant then if is_transparant then
require("user.tokyonight_transparant") require("user.tokyonight_transparant")
else else
@ -95,7 +95,7 @@ return {
end end
end, end,
}, },
{ "rafamadriz/friendly-snippets" }, { "rafamadriz/friendly-snippets", event = "VeryLazy" },
{ {
"hrsh7th/nvim-cmp", "hrsh7th/nvim-cmp",
dependencies = "rafamadriz/friendly-snippets", dependencies = "rafamadriz/friendly-snippets",
@ -135,6 +135,7 @@ return {
{ {
"kyazdani42/nvim-web-devicons", "kyazdani42/nvim-web-devicons",
commit = "563f3635c2d8a7be7933b9e547f7c178ba0d4352", commit = "563f3635c2d8a7be7933b9e547f7c178ba0d4352",
event = "VeryLazy",
config = function() config = function()
require("user.webdevicons") require("user.webdevicons")
end, end,
@ -160,7 +161,7 @@ return {
-- require("user.bufferline") -- require("user.bufferline")
-- end, -- end,
}, },
{ "moll/vim-bbye", commit = "25ef93ac5a87526111f43e5110675032dbcacf56" }, { "moll/vim-bbye", commit = "25ef93ac5a87526111f43e5110675032dbcacf56", event = "VeryLazy" },
-- for view terminal -- for view terminal
{ {
"akinsho/toggleterm.nvim", "akinsho/toggleterm.nvim",
@ -171,10 +172,11 @@ return {
require("user.toggleterm") require("user.toggleterm")
end, end,
}, },
{ "ahmedkhalf/project.nvim", commit = "628de7e433dd503e782831fe150bb750e56e55d6" }, { "ahmedkhalf/project.nvim", commit = "628de7e433dd503e782831fe150bb750e56e55d6", event = "VeryLazy" },
{ {
"lewis6991/impatient.nvim", "lewis6991/impatient.nvim",
commit = "b842e16ecc1a700f62adb9802f8355b99b52a5a6", commit = "b842e16ecc1a700f62adb9802f8355b99b52a5a6",
event = "VeryLazy",
init = function() init = function()
require("user.impatient") require("user.impatient")
end, end,
@ -197,8 +199,18 @@ return {
end, end,
}, },
-- start programming -- start programming
{ "hrsh7th/cmp-buffer", commit = "3022dbc9166796b644a841a02de8dd1cc1d311fa", dependencies = "hrsh7th/nvim-cmp" }, {
{ "hrsh7th/cmp-nvim-lua", commit = "d276254e7198ab7d00f117e88e223b4bd8c02d21", dependencies = "hrsh7th/nvim-cmp" }, "hrsh7th/cmp-buffer",
event = "VeryLazy",
commit = "3022dbc9166796b644a841a02de8dd1cc1d311fa",
dependencies = "hrsh7th/nvim-cmp",
},
{
"hrsh7th/cmp-nvim-lua",
event = "VeryLazy",
commit = "d276254e7198ab7d00f117e88e223b4bd8c02d21",
dependencies = "hrsh7th/nvim-cmp",
},
{ {
"neovim/nvim-lspconfig", "neovim/nvim-lspconfig",
commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda", commit = "f11fdff7e8b5b415e5ef1837bdcdd37ea6764dda",
@ -214,6 +226,7 @@ return {
{ {
"williamboman/mason.nvim", "williamboman/mason.nvim",
commit = "c2002d7a6b5a72ba02388548cfaf420b864fbc12", commit = "c2002d7a6b5a72ba02388548cfaf420b864fbc12",
event = "VeryLazy",
cmd = { cmd = {
"Mason", "Mason",
"MasonInstall", "MasonInstall",
@ -229,8 +242,8 @@ return {
end, end,
}, },
-- for formater linter -- for formater linter
{ "jose-elias-alvarez/null-ls.nvim", commit = "c0c19f32b614b3921e17886c541c13a72748d450" }, { "jose-elias-alvarez/null-ls.nvim", commit = "c0c19f32b614b3921e17886c541c13a72748d450", event = "VeryLazy" },
{ "RRethy/vim-illuminate", commit = "a2e8476af3f3e993bb0d6477438aad3096512e42" }, { "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",
@ -245,6 +258,7 @@ return {
-- for search -- for search
{ {
"nvim-telescope/telescope.nvim", "nvim-telescope/telescope.nvim",
event = "VeryLazy",
commit = "76ea9a898d3307244dce3573392dcf2cc38f340f", commit = "76ea9a898d3307244dce3573392dcf2cc38f340f",
dependencies = { { "nvim-lua/plenary.nvim" } }, dependencies = { { "nvim-lua/plenary.nvim" } },
cmd = "Telescope", cmd = "Telescope",
@ -253,12 +267,13 @@ return {
end, end,
}, },
-- for live server html,css,js -- for live server html,css,js
{ "manzeloth/live-server", cmd = { "LiveServer" } }, { "manzeloth/live-server", cmd = { "LiveServer" }, event = "VeryLazy" },
-- for multi cursor select -- for multi cursor select
{ "mg979/vim-visual-multi", event = "BufWinEnter" }, { "mg979/vim-visual-multi", event = "BufWinEnter" },
-- for auto close tag -- for auto close tag
{ {
"windwp/nvim-ts-autotag", "windwp/nvim-ts-autotag",
event = "VeryLazy",
dependencies = "nvim-treesitter/nvim-treesitter", dependencies = "nvim-treesitter/nvim-treesitter",
init = function() init = function()
require("nvim-ts-autotag").setup() require("nvim-ts-autotag").setup()
@ -267,6 +282,7 @@ return {
-- for auto detection file and run code -- for auto detection file and run code
{ {
"CRAG666/code_runner.nvim", "CRAG666/code_runner.nvim",
event = "VeryLazy",
dependencies = "nvim-lua/plenary.nvim", dependencies = "nvim-lua/plenary.nvim",
cmd = { "RunCode", "RunFile", "RunProject", "RunClose" }, cmd = { "RunCode", "RunFile", "RunProject", "RunClose" },
config = function() config = function()
@ -289,7 +305,7 @@ return {
end, end,
}, },
-- for install only java support windows -- for install only java support windows
{ "williamboman/nvim-lsp-installer" }, { "williamboman/nvim-lsp-installer", event = "VeryLazy" },
-- for winbar icon -- for winbar icon
{ {
"SmiteshP/nvim-navic", "SmiteshP/nvim-navic",
@ -412,7 +428,7 @@ return {
end, end,
}, },
-- for check startuptime -- for check startuptime
{ "dstein64/vim-startuptime", cmd = "StartupTime" }, { "dstein64/vim-startuptime", cmd = "StartupTime", event = "VeryLazy" },
-- for coloring pairs -- for coloring pairs
{ "p00f/nvim-ts-rainbow", event = "BufWinEnter", dependencies = "nvim-treesitter/nvim-treesitter" }, { "p00f/nvim-ts-rainbow", event = "BufWinEnter", dependencies = "nvim-treesitter/nvim-treesitter" },
{ {
@ -452,6 +468,7 @@ return {
-- better diagnostics list and others -- better diagnostics list and others
{ {
"folke/trouble.nvim", "folke/trouble.nvim",
event = "VeryLazy",
cmd = { "TroubleToggle", "Trouble" }, cmd = { "TroubleToggle", "Trouble" },
opts = { use_diagnostic_signs = true }, opts = { use_diagnostic_signs = true },
keys = { keys = {
@ -463,6 +480,7 @@ return {
-- make sure already install npm and yarn -- make sure already install npm and yarn
{ {
"iamcco/markdown-preview.nvim", "iamcco/markdown-preview.nvim",
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" }
@ -473,10 +491,12 @@ return {
-- debuging -- debuging
{ {
"mfussenegger/nvim-dap", "mfussenegger/nvim-dap",
event = "VeryLazy",
enabled = vim.fn.has("win32") == 0, enabled = vim.fn.has("win32") == 0,
}, },
{ {
"rcarriga/nvim-dap-ui", "rcarriga/nvim-dap-ui",
event = "VeryLazy",
dependencies = "mfussenegger/nvim-dap", dependencies = "mfussenegger/nvim-dap",
enabled = vim.fn.has("win32") == 0, enabled = vim.fn.has("win32") == 0,
init = function() init = function()
@ -485,6 +505,7 @@ return {
}, },
{ {
"jayp0521/mason-nvim-dap.nvim", "jayp0521/mason-nvim-dap.nvim",
event = "VeryLazy",
dependencies = { "williamboman/mason.nvim", "mfussenegger/nvim-dap" }, dependencies = { "williamboman/mason.nvim", "mfussenegger/nvim-dap" },
enabled = vim.fn.has("win32") == 0, enabled = vim.fn.has("win32") == 0,
init = function() init = function()
@ -504,6 +525,7 @@ return {
-- indent detection -- indent detection
{ {
"Darazaki/indent-o-matic", "Darazaki/indent-o-matic",
event = "VeryLazy",
opt = true, opt = true,
cmd = { "IndentOMatic" }, cmd = { "IndentOMatic" },
config = function() config = function()

View file

@ -19,7 +19,7 @@ local options = {
"--smart-case", "--smart-case",
}, },
prompt_prefix = "", prompt_prefix = "",
selection_caret = " ", selection_caret = " ",
entry_prefix = " ", entry_prefix = " ",
initial_mode = "insert", initial_mode = "insert",
selection_strategy = "reset", selection_strategy = "reset",
@ -41,7 +41,7 @@ local options = {
file_sorter = require("telescope.sorters").get_fuzzy_file, file_sorter = require("telescope.sorters").get_fuzzy_file,
file_ignore_patterns = { "node_modules" }, file_ignore_patterns = { "node_modules" },
generic_sorter = require("telescope.sorters").get_generic_fuzzy_sorter, generic_sorter = require("telescope.sorters").get_generic_fuzzy_sorter,
path_display = { "truncate" }, path_display = { "smart" },
winblend = 0, winblend = 0,
border = {}, border = {},
borderchars = { "", "", "", "", "", "", "", "" }, borderchars = { "", "", "", "", "", "", "", "" },

View file

@ -8,7 +8,8 @@ local actions = require("telescope.actions")
telescope.setup({ telescope.setup({
defaults = { defaults = {
prompt_prefix = "", -- prompt_prefix = " ",
prompt_prefix = "",
selection_caret = "", selection_caret = "",
path_display = { "smart" }, path_display = { "smart" },