This commit is contained in:
asep.komarudin 2024-04-13 19:09:42 +07:00
parent b347310c93
commit 631a6a9bd5
5 changed files with 556 additions and 520 deletions

View file

@ -12,9 +12,9 @@ if vim.g.neovide then
vim.o.guifont = "Hasklug_Nerd_Font:h15" vim.o.guifont = "Hasklug_Nerd_Font:h15"
vim.g.neovide_padding_top = 0 vim.g.neovide_padding_top = 0
vim.g.neovide_padding_bottom = 0 vim.g.neovide_padding_bottom = 1
vim.g.neovide_padding_right = 0 vim.g.neovide_padding_right = 1
vim.g.neovide_padding_left = 0 vim.g.neovide_padding_left = 1
-- config for transparent -- config for transparent
--vim.g.neovide_transparency = 0.8 --vim.g.neovide_transparency = 0.8

View file

@ -384,6 +384,7 @@ return {
-- 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 = "#3E4450" },
-- NvimTreeGitIgnored = { fg = "$gray", bg = "NONE" },
IblIndent = { fg = "#3E4450" }, IblIndent = { fg = "#3E4450" },
-- NvimTreeFolderIcon = { bg = "NONE", fg = "$blue" }, -- NvimTreeFolderIcon = { bg = "NONE", fg = "$blue" },
["@markup.link.url"] = { fg = "$cyan", fmt = "italic" }, ["@markup.link.url"] = { fg = "$cyan", fmt = "italic" },

View file

@ -109,7 +109,7 @@ nvim_tree.setup({
-- root_folder_modifier = ":t", -- root_folder_modifier = ":t",
root_folder_label = false, root_folder_label = false,
indent_markers = { indent_markers = {
enable = false, enable = true,
inline_arrows = true, inline_arrows = true,
icons = { icons = {
corner = "", corner = "",
@ -143,7 +143,11 @@ nvim_tree.setup({
git = { git = {
deleted = icons.git.FileDeleted, deleted = icons.git.FileDeleted,
-- ignored = icons.git.FileIgnored, -- ignored = icons.git.FileIgnored,
ignored = "", -- ignored = "",
-- ignored = "",
-- ignored = "",
ignored = "",
-- ignored = icons.git.FileUnstaged,
renamed = icons.git.FileRenamed, renamed = icons.git.FileRenamed,
staged = icons.git.FileStaged, staged = icons.git.FileStaged,
unmerged = icons.git.FileUnmerged, unmerged = icons.git.FileUnmerged,

View file

@ -39,7 +39,8 @@ local options = {
writebackup = false, -- Disable making a backup before overwriting a file writebackup = false, -- Disable making a backup before overwriting a file
-- minimal number of screen columns either side of cursor if wrap is `false` -- minimal number of screen columns either side of cursor if wrap is `false`
-- guifont = "monospace:h17", -- the font used in graphical neovim applications -- guifont = "monospace:h17", -- the font used in graphical neovim applications
guifont = "Source Code Pro:h17", -- the font used in graphical neovim applications guifont = "SauceCodePro Nerd Font:h17", -- the font used in graphical neovim applications
-- guifont = "Hasklug Nerd Font:h16", -- the font used in graphical neovim applications
-- guifont = "Hack Nerd Font:h17", -- the font used in graphical neovim applications -- guifont = "Hack Nerd Font:h17", -- the font used in graphical neovim applications
whichwrap = "bs<>[]hl", -- which "horizontal" keys are allowed to travel to prev/next line -- which "horizontal" keys are allowed to travel to prev/next line whichwrap = "bs<>[]hl", -- which "horizontal" keys are allowed to travel to prev/next line -- which "horizontal" keys are allowed to travel to prev/next line
} }

View file

@ -11,19 +11,25 @@ material_icon.setup({
override = { override = {
["mjs"] = { ["mjs"] = {
icon = "", icon = "",
color = "#efd81d", color = "#f2c55c",
cterm_color = "220", cterm_color = "220",
name = "Mjs", name = "Mjs",
}, },
["js"] = {
icon = "",
color = "#f2c55c",
cterm_color = "220",
name = "javascript",
},
["ts"] = { ["ts"] = {
icon = "󰛦", icon = "󰛦",
color = "#30A2FF", color = "#548af7",
cterm_color = "220", cterm_color = "220",
name = "ts", name = "ts",
}, },
["jsx"] = { ["jsx"] = {
icon = "", icon = "",
color = "#0FBFCF", color = "#61dafb",
cterm_color = "220", cterm_color = "220",
name = "jsx", name = "jsx",
}, },
@ -47,7 +53,7 @@ material_icon.setup({
}, },
["json"] = { ["json"] = {
icon = "", icon = "",
color = "#ca8984", color = "#f16421",
cterm_color = "220", cterm_color = "220",
name = "json", name = "json",
}, },
@ -129,11 +135,35 @@ material_icon.setup({
cterm_color = "220", cterm_color = "220",
name = "cfm", name = "cfm",
}, },
["cfc"] = { ["png"] = {
icon = "", icon = "󰋩",
color = "#507F89", color = "#3574f0",
cterm_color = "220", cterm_color = "220",
name = "cfc", name = "Png",
},
["jpg"] = {
icon = "󰋩",
color = "#3574f0",
cterm_color = "220",
name = "jpg",
},
["csv"] = {
icon = "",
color = "#57965c",
cterm_color = "220",
name = "csv",
},
["sql"] = {
icon = "",
color = "#b589ec",
cterm_color = "220",
name = "sqlfile",
},
["md"] = {
icon = "",
color = "#42a5f5",
cterm_color = "220",
name = "README_file",
}, },
-- ["go"] = { -- ["go"] = {
-- icon = "󰟓", -- icon = "󰟓",