mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
add: update
This commit is contained in:
parent
1b1f8b9967
commit
f4defddd52
8 changed files with 155 additions and 110 deletions
|
@ -23,7 +23,7 @@
|
||||||
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
|
"mason.nvim": { "branch": "main", "commit": "c43eeb5614a09dc17c03a7fb49de2e05de203924" },
|
||||||
"noice.nvim": { "branch": "main", "commit": "0cbe3f88d038320bdbda3c4c5c95f43a13c3aa12" },
|
"noice.nvim": { "branch": "main", "commit": "0cbe3f88d038320bdbda3c4c5c95f43a13c3aa12" },
|
||||||
"none-ls-extras.nvim": { "branch": "main", "commit": "f0746bf4f1a21d6e1d2002f671fb9b46d2146de7" },
|
"none-ls-extras.nvim": { "branch": "main", "commit": "f0746bf4f1a21d6e1d2002f671fb9b46d2146de7" },
|
||||||
"none-ls.nvim": { "branch": "main", "commit": "63457547ffb7c7223d0f91feb1145393cc7b6728" },
|
"none-ls.nvim": { "branch": "main", "commit": "88821b67e6007041f43b802f58e3d9fa9bfce684" },
|
||||||
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
|
"nui.nvim": { "branch": "main", "commit": "a0fd35fcbb4cb479366f1dc5f20145fd718a3733" },
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "4f41e5940bc0443fdbe5f995e2a596847215cd2a" },
|
"nvim-autopairs": { "branch": "master", "commit": "4f41e5940bc0443fdbe5f995e2a596847215cd2a" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" },
|
"nvim-cmp": { "branch": "main", "commit": "ce16de5665c766f39c271705b17fff06f7bcb84f" },
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
|
"promise-async": { "branch": "main", "commit": "38a4575da9497326badd3995e768b4ccf0bb153e" },
|
||||||
"smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" },
|
"smart-splits.nvim": { "branch": "master", "commit": "f6fcb79527872e9330c554915af2ca511c388390" },
|
||||||
"statuscol.nvim": { "branch": "main", "commit": "483b9a596dfd63d541db1aa51ee6ee9a1441c4cc" },
|
"statuscol.nvim": { "branch": "main", "commit": "483b9a596dfd63d541db1aa51ee6ee9a1441c4cc" },
|
||||||
"telescope.nvim": { "branch": "master", "commit": "d00d9df48c00d8682c14c2b5da78bda7ef06b939" },
|
"telescope.nvim": { "branch": "master", "commit": "ef75145f805717a647e8e323e5973cb23f8d0492" },
|
||||||
"toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" },
|
"toggleterm.nvim": { "branch": "main", "commit": "193786e0371e3286d3bc9aa0079da1cd41beaa62" },
|
||||||
"vim-illuminate": { "branch": "master", "commit": "e522e0dd742a83506db0a72e1ced68c9c130f185" },
|
"vim-illuminate": { "branch": "master", "commit": "e522e0dd742a83506db0a72e1ced68c9c130f185" },
|
||||||
"vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" },
|
"vim-startuptime": { "branch": "master", "commit": "97a88e688482a09c3c4b777d07b509b328a5ec29" },
|
||||||
|
|
|
@ -21,6 +21,7 @@ require("lazy").setup({
|
||||||
version = "*", -- try installing the latest stable version for plugins that support semver
|
version = "*", -- try installing the latest stable version for plugins that support semver
|
||||||
},
|
},
|
||||||
ui = {
|
ui = {
|
||||||
|
backdrop = 100,
|
||||||
border = "rounded",
|
border = "rounded",
|
||||||
browser = "chrome",
|
browser = "chrome",
|
||||||
throttle = 40,
|
throttle = 40,
|
||||||
|
|
|
@ -1,101 +1,110 @@
|
||||||
return {
|
return {
|
||||||
-- { "navarasu/onedark.nvim", enabled = false },
|
{ "navarasu/onedark.nvim", enabled = false },
|
||||||
-- {
|
{
|
||||||
-- "olimorris/onedarkpro.nvim",
|
"olimorris/onedarkpro.nvim",
|
||||||
-- priority = 1000, -- Ensure it loads first
|
priority = 1000, -- Ensure it loads first
|
||||||
-- config = function()
|
config = function()
|
||||||
-- require("onedarkpro").setup({
|
local is_transparent = false
|
||||||
-- styles = {
|
require("onedarkpro").setup({
|
||||||
-- types = "NONE",
|
styles = {
|
||||||
-- methods = "NONE",
|
types = "NONE",
|
||||||
-- numbers = "NONE",
|
methods = "NONE",
|
||||||
-- strings = "NONE",
|
numbers = "NONE",
|
||||||
-- comments = "italic",
|
strings = "NONE",
|
||||||
-- keywords = "bold,italic",
|
comments = "italic",
|
||||||
-- constants = "NONE",
|
keywords = "bold,italic",
|
||||||
-- functions = "italic",
|
constants = "NONE",
|
||||||
-- operators = "NONE",
|
functions = "italic",
|
||||||
-- variables = "NONE",
|
operators = "NONE",
|
||||||
-- parameters = "NONE",
|
variables = "NONE",
|
||||||
-- conditionals = "italic",
|
parameters = "NONE",
|
||||||
-- virtual_text = "NONE",
|
conditionals = "italic",
|
||||||
-- tags = "italic",
|
virtual_text = "NONE",
|
||||||
-- },
|
tags = "italic",
|
||||||
-- colors = {
|
},
|
||||||
-- onedark = {
|
colors = {
|
||||||
-- green = "#99c379",
|
onedark = {
|
||||||
-- gray = "#8094b4",
|
green = "#99c379",
|
||||||
-- red = "#e06c75",
|
gray = "#8094b4",
|
||||||
-- purple = "#c678dd",
|
red = "#e06c75",
|
||||||
-- yellow = "#e5c07a",
|
purple = "#c678dd",
|
||||||
-- blue = "#61afef",
|
yellow = "#e5c07a",
|
||||||
-- cyan = "#56b6c2",
|
blue = "#61afef",
|
||||||
-- bg_statusline = "#282c34",
|
cyan = "#56b6c2",
|
||||||
-- indentline = "#3b4261",
|
bg_statusline = "#282c34",
|
||||||
-- float_bg = "#282c34",
|
indentline = "#3b4261",
|
||||||
-- },
|
float_bg = "#282c34",
|
||||||
-- },
|
},
|
||||||
-- options = {
|
},
|
||||||
-- cursorline = true,
|
options = {
|
||||||
-- transparency = false,
|
cursorline = true,
|
||||||
-- terminal_colors = true,
|
transparency = is_transparent,
|
||||||
-- },
|
terminal_colors = true,
|
||||||
-- highlights = {
|
},
|
||||||
-- -- overide cursor line fill colors
|
highlights = {
|
||||||
-- LineNr = { fg = "#49505E" }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
-- overide cursor line fill colors
|
||||||
-- CursorLineNr = { fg = "${blue}" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
LineNr = { fg = "#49505E" }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
||||||
-- CursorLine = { bg = "#333842" },
|
CursorLineNr = { fg = "${blue}" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
||||||
-- Cursor = { fg = "${bg}", bg = "${fg}" }, -- character under the cursor
|
CursorLine = { bg = "#333842" },
|
||||||
-- lCursor = { fg = "${bg}", bg = "${fg}" }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
|
Cursor = { fg = "${bg}", bg = "${fg}" }, -- character under the cursor
|
||||||
-- CursorIM = { fg = "${bg}", bg = "${fg}" }, -- like Cursor, but used when in IME mode |CursorIM|
|
lCursor = { fg = "${bg}", bg = "${fg}" }, -- the character under the cursor when |language-mapping| is used (see 'guicursor')
|
||||||
-- CursorColumn = { bg = "#333842" }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
CursorIM = { fg = "${bg}", bg = "${fg}" }, -- like Cursor, but used when in IME mode |CursorIM|
|
||||||
-- -- overide nvimtree folder icon fill color
|
CursorColumn = { bg = "#333842" }, -- Screen-column at the cursor, when 'cursorcolumn' is set.
|
||||||
-- NvimTreeFolderIcon = { fg = "${gray}" },
|
-- overide nvimtree folder icon fill color
|
||||||
-- -- overide nvimtree text fill color folder opened
|
NvimTreeFolderIcon = { fg = "${gray}" },
|
||||||
-- NvimTreeOpenedFolderName = { fg = "${blue}" },
|
-- overide nvimtree text fill color folder opened
|
||||||
-- -- overide nvimtree text fill color root folder
|
NvimTreeOpenedFolderName = { fg = "${blue}" },
|
||||||
-- NvimTreeRootFolder = { fg = "${yellow}" },
|
-- overide nvimtree text fill color root folder
|
||||||
-- NvimTreeSpecialFile = { fg = "${yellow}" },
|
NvimTreeRootFolder = { fg = "${yellow}" },
|
||||||
-- NvimTreeWinSeparator = { fg = "#202329" },
|
NvimTreeSpecialFile = { fg = "${orange}" },
|
||||||
-- NvimTreeIndentMarker = { fg = "#3E4450" },
|
NvimTreeWinSeparator = { fg = "#202329" },
|
||||||
-- -- overide indenline fill color
|
NvimTreeIndentMarker = { fg = "#3E4450" },
|
||||||
-- IblIndent = { fg = "#3E4450" },
|
-- overide indenline fill color
|
||||||
-- -- overide cmp cursorline fill color with #333842
|
IblIndent = { fg = "#3E4450" },
|
||||||
-- PmenuSel = { bg = "#333842" },
|
-- overide cmp cursorline fill color with #333842
|
||||||
-- illuminatedWord = { bg = "#3b4261" },
|
PmenuSel = { bg = "#333842" },
|
||||||
-- illuminatedCurWord = { bg = "#3b4261" },
|
illuminatedWord = { bg = "#3b4261" },
|
||||||
-- IlluminatedWordText = { bg = "#3b4261" },
|
illuminatedCurWord = { bg = "#3b4261" },
|
||||||
-- IlluminatedWordRead = { bg = "#3b4261" },
|
IlluminatedWordText = { bg = "#3b4261" },
|
||||||
-- IlluminatedWordWrite = { bg = "#3b4261" },
|
IlluminatedWordRead = { bg = "#3b4261" },
|
||||||
-- StatusLine = { fg = "#f8f8f2", bg = "${bg}" },
|
IlluminatedWordWrite = { bg = "#3b4261" },
|
||||||
-- StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
StatusLine = { fg = "#f8f8f2", bg = is_transparent and "NONE" or "${bg}" },
|
||||||
-- BufferLineFill = { bg = "${bg}" },
|
StatusLineTerm = { fg = "#f8f8f2", bg = "${bg}" },
|
||||||
-- ["@string.special.url.html"] = { fg = "${green}" },
|
BufferLineFill = { bg = is_transparent and "NONE" or "${bg}" },
|
||||||
-- ["@text.uri.html"] = { fg = "${green}" },
|
["@string.special.url.html"] = { fg = "${green}" },
|
||||||
-- ["@tag.javascript"] = { fg = "${red}" },
|
["@text.uri.html"] = { fg = "${green}" },
|
||||||
-- ["@constructor.javascript"] = { fg = "${red}" },
|
["@tag.javascript"] = { fg = "${red}" },
|
||||||
-- Pmenu = { fg = "${fg}", bg = "${bg}" },
|
["@tag.attribute"] = { fg = "${orange}", style = "italic" },
|
||||||
-- PmenuThumb = { bg = "${gray}" }, -- Popup menu: Thumb of the scrollbar.
|
["@constructor.javascript"] = { fg = "${red}" },
|
||||||
-- -- overide lualine fill color with bg color
|
["@variable"] = { fg = "${fg}", style = "NONE" }, -- various variable names
|
||||||
-- LualineNormal = { bg = "${bg}" },
|
["@variable.builtin"] = { fg = "${red}", style = "NONE" },
|
||||||
-- -- overide lualine_c fill color with bg color
|
["@variable.member"] = "${cyan}",
|
||||||
-- LualineC = { bg = "${bg}" },
|
["@variable.parameter"] = "${red}",
|
||||||
-- -- overide lualine_x fill color with bg color
|
["@property"] = { fg = "${cyan}" }, -- similar to `@field`
|
||||||
-- LualineX = { bg = "${bg}" },
|
NvimTreeGitDirty = { fg = "${yellow}" },
|
||||||
-- -- overide which-key fill color with bg color
|
Pmenu = { fg = "${fg}", bg = "${bg}" },
|
||||||
|
PmenuThumb = { bg = "${gray}" }, -- Popup menu: Thumb of the scrollbar.
|
||||||
|
-- overide lualine fill color with bg color
|
||||||
|
LualineNormal = { bg = "${bg}" },
|
||||||
|
-- overide lualine_c fill color with bg color
|
||||||
|
LualineC = { bg = "${bg}" },
|
||||||
|
-- overide lualine_x fill color with bg color
|
||||||
|
LualineX = { bg = "${bg}" },
|
||||||
|
-- overide which-key fill color with bg color
|
||||||
-- WhichKey = { bg = "${bg}" },
|
-- WhichKey = { bg = "${bg}" },
|
||||||
-- -- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
-- WhichKeySeperator = { bg = "${bg}" },
|
-- WhichKeySeperator = { bg = "${bg}" },
|
||||||
-- -- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
-- WhichKeyDesc = { bg = "${bg}" },
|
-- WhichKeyDesc = { fg = "${red}" },
|
||||||
-- -- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
-- WhichKeyFloat = { bg = "${bg}" },
|
-- WhichKeyFloat = { bg = "${bg}" },
|
||||||
|
WhichKeyFloat = { bg = is_transparent and "NONE" or "${bg}" },
|
||||||
-- -- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
-- WhichKeyValue = { bg = "${bg}" },
|
-- WhichKeyValue = { bg = "${bg}" },
|
||||||
-- -- overide which-key fill color with bg color
|
-- -- overide which-key fill color with bg color
|
||||||
-- WhichKeyBorder = { bg = "${bg}" },
|
-- WhichKeyBorder = { bg = "${bg}" },
|
||||||
-- },
|
},
|
||||||
-- })
|
})
|
||||||
-- end,
|
end,
|
||||||
-- },
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -354,6 +354,7 @@ return {
|
||||||
priority = 1000,
|
priority = 1000,
|
||||||
config = function()
|
config = function()
|
||||||
-- Lua
|
-- Lua
|
||||||
|
local util = require("onedark.util")
|
||||||
require("onedark").setup({
|
require("onedark").setup({
|
||||||
term_colors = true,
|
term_colors = true,
|
||||||
style = onedark_style,
|
style = onedark_style,
|
||||||
|
@ -383,7 +384,7 @@ return {
|
||||||
-- BorderBG = { fg = "#333842" }, -- untuk custom brder color cmp
|
-- BorderBG = { fg = "#333842" }, -- untuk custom brder color cmp
|
||||||
-- overide indent line fill color
|
-- overide indent line fill color
|
||||||
NvimTreeNormal = { fg = "$fg", bg = "$bg0" },
|
NvimTreeNormal = { fg = "$fg", bg = "$bg0" },
|
||||||
NvimTreeIndentMarker = { fg = "#3E4450" },
|
NvimTreeIndentMarker = { fg = "#515661" },
|
||||||
-- NvimTreeGitIgnored = { fg = "$gray", bg = "NONE" },
|
-- NvimTreeGitIgnored = { fg = "$gray", bg = "NONE" },
|
||||||
IblIndent = { fg = "#3E4450" },
|
IblIndent = { fg = "#3E4450" },
|
||||||
-- NvimTreeFolderIcon = { bg = "NONE", fg = "$blue" },
|
-- NvimTreeFolderIcon = { bg = "NONE", fg = "$blue" },
|
||||||
|
|
|
@ -364,9 +364,29 @@ return {
|
||||||
lazy = true,
|
lazy = true,
|
||||||
-- event = "BufWinEnter",
|
-- event = "BufWinEnter",
|
||||||
event = { "BufRead", "InsertEnter", "BufNewFile" },
|
event = { "BufRead", "InsertEnter", "BufNewFile" },
|
||||||
opts = function()
|
-- opts = function()
|
||||||
require("user.colorizer")
|
-- require("user.colorizer")
|
||||||
end,
|
-- end,
|
||||||
|
opts = {
|
||||||
|
user_default_options = {
|
||||||
|
RGB = true, -- #RGB hex codes
|
||||||
|
RRGGBB = true, -- #RRGGBB hex codes
|
||||||
|
names = true, -- "Name" codes like Blue
|
||||||
|
RRGGBBAA = true, -- #RRGGBBAA hex codes
|
||||||
|
rgb_fn = true, -- CSS rgb() and rgba() functions
|
||||||
|
hsl_fn = true, -- CSS hsl() and hsla() functions
|
||||||
|
css = true, -- Enable all CSS features: rgb_fn, hsl_fn, names, RGB, RRGGBB
|
||||||
|
css_fn = true, -- Enable all CSS *functions*: rgb_fn, hsl_fn
|
||||||
|
-- Available modes: foreground, background
|
||||||
|
mode = "background", -- Set the display mode.
|
||||||
|
tailwind = true,
|
||||||
|
},
|
||||||
|
filetypes = {
|
||||||
|
"*", -- Highlight all files, but customize some others.
|
||||||
|
css = { rgb_fn = true }, -- Enable parsing rgb(...) functions in css.
|
||||||
|
html = { names = false }, -- Disable parsing "names" like Blue or Gray
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
-- for winbar icon
|
-- for winbar icon
|
||||||
{
|
{
|
||||||
|
|
|
@ -82,7 +82,7 @@ return {
|
||||||
Calendar = "",
|
Calendar = "",
|
||||||
Check = "",
|
Check = "",
|
||||||
ChevronRight = "",
|
ChevronRight = "",
|
||||||
ChevronShortDown = "",
|
ChevronShortDown = "",
|
||||||
ChevronShortLeft = "",
|
ChevronShortLeft = "",
|
||||||
ChevronShortRight = "",
|
ChevronShortRight = "",
|
||||||
ChevronShortUp = "",
|
ChevronShortUp = "",
|
||||||
|
|
|
@ -55,7 +55,7 @@ nvim_tree.setup({
|
||||||
root_folder_label = false,
|
root_folder_label = false,
|
||||||
indent_width = 2,
|
indent_width = 2,
|
||||||
indent_markers = {
|
indent_markers = {
|
||||||
enable = false,
|
enable = true,
|
||||||
inline_arrows = true,
|
inline_arrows = true,
|
||||||
icons = {
|
icons = {
|
||||||
corner = "└",
|
corner = "└",
|
||||||
|
@ -80,8 +80,10 @@ nvim_tree.setup({
|
||||||
symlink = icons.ui.FileSymlink,
|
symlink = icons.ui.FileSymlink,
|
||||||
bookmark = icons.ui.BookMark,
|
bookmark = icons.ui.BookMark,
|
||||||
folder = {
|
folder = {
|
||||||
arrow_closed = icons.ui.TriangleShortArrowRight,
|
-- arrow_closed = icons.ui.TriangleShortArrowRight,
|
||||||
arrow_open = icons.ui.TriangleShortArrowDown,
|
arrow_closed = icons.ui.ChevronShortRight,
|
||||||
|
-- arrow_open = icons.ui.TriangleShortArrowDown,
|
||||||
|
arrow_open = icons.ui.ChevronShortDown,
|
||||||
default = icons.ui.Folder,
|
default = icons.ui.Folder,
|
||||||
open = icons.ui.FolderOpen,
|
open = icons.ui.FolderOpen,
|
||||||
empty = icons.ui.EmptyFolder,
|
empty = icons.ui.EmptyFolder,
|
||||||
|
|
|
@ -155,6 +155,12 @@ material_icon.setup({
|
||||||
cterm_color = "220",
|
cterm_color = "220",
|
||||||
name = "jpg",
|
name = "jpg",
|
||||||
},
|
},
|
||||||
|
["jpeg"] = {
|
||||||
|
icon = "",
|
||||||
|
color = "#88C057",
|
||||||
|
cterm_color = "220",
|
||||||
|
name = "jpeg",
|
||||||
|
},
|
||||||
["csv"] = {
|
["csv"] = {
|
||||||
icon = "",
|
icon = "",
|
||||||
color = "#57965c",
|
color = "#57965c",
|
||||||
|
@ -493,5 +499,11 @@ web_devicons.setup({
|
||||||
cterm_color = "220",
|
cterm_color = "220",
|
||||||
name = "gitlabciyaml",
|
name = "gitlabciyaml",
|
||||||
},
|
},
|
||||||
|
[".env_example"] = {
|
||||||
|
icon = "",
|
||||||
|
color = "#faf743",
|
||||||
|
cterm_color = "227",
|
||||||
|
name = "Envexample",
|
||||||
|
},
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue