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

View file

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

View file

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