mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-23 01:08:53 +02:00
change: vim.g.pcode_icon to pcode.icons
This commit is contained in:
parent
624d3aceb6
commit
1aa86bfa2d
17 changed files with 30 additions and 268 deletions
|
@ -14,5 +14,5 @@ end
|
|||
-- if onsave then
|
||||
-- require("user.format_onsave")
|
||||
-- end
|
||||
vim.g.pcode_icons = require("user.icons")
|
||||
pcode.icons = require("user.icons")
|
||||
return {}
|
||||
|
|
|
@ -26,7 +26,7 @@ return {
|
|||
"MasonLog",
|
||||
},
|
||||
opts = function()
|
||||
local icons = vim.g.pcode_icons.ui
|
||||
local icons = pcode.icons.ui
|
||||
return {
|
||||
ui = {
|
||||
-- border = "none",
|
||||
|
|
|
@ -8,7 +8,7 @@ return {
|
|||
return
|
||||
end
|
||||
|
||||
local icons = vim.g.pcode_icons
|
||||
local icons = pcode.icons
|
||||
local use_icons = true
|
||||
|
||||
-- get folder name from current directory
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local icons = vim.g.pcode_icons
|
||||
local icons = pcode.icons
|
||||
return {
|
||||
"lewis6991/gitsigns.nvim",
|
||||
lazy = true,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local icons = vim.g.pcode_icons
|
||||
local icons = pcode.icons
|
||||
if pcode.indentscope and true or false then
|
||||
return {
|
||||
"echasnovski/mini.indentscope",
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
local icons = vim.g.pcode_icons
|
||||
local icons = pcode.icons
|
||||
local set_view = {}
|
||||
if pcode.nvimtree_isfloat == 1 then
|
||||
set_view = require("user.utils.nvimtree").float
|
||||
|
|
|
@ -8,7 +8,7 @@ function TABLE_CONTAINS(tbl, x)
|
|||
return found
|
||||
end
|
||||
|
||||
local icons = vim.g.pcode_icons.folding
|
||||
local icons = pcode.icons.folding
|
||||
|
||||
local M = {}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ if pcode.columnline then
|
|||
event = "BufRead",
|
||||
opts = {},
|
||||
config = function()
|
||||
local icons = vim.g.pcode_icons
|
||||
local icons = pcode.icons
|
||||
require("virt-column").overwrite({
|
||||
exclude = {
|
||||
filetypes = { "help", "text", "markdown" },
|
||||
|
|
|
@ -4,7 +4,7 @@ return {
|
|||
keys = { "<leader>", '"', "'", "`", "c", "v" },
|
||||
event = "VeryLazy",
|
||||
opts = function()
|
||||
local icons = vim.g.pcode_icons
|
||||
local icons = pcode.icons
|
||||
return {
|
||||
plugins = {
|
||||
marks = false, -- shows a list of your marks on ' and `
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue