mirror of
https://github.com/pojokcodeid/nvim-lazy.git
synced 2025-06-22 08:53:31 +02:00
add: update config
This commit is contained in:
parent
93e5e8860f
commit
b319a12e99
7 changed files with 154 additions and 115 deletions
|
@ -10,7 +10,6 @@
|
||||||
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
"cmp_luasnip": { "branch": "master", "commit": "05a9ab28b53f71d1aece421ef32fee2cb857a843" },
|
||||||
"code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" },
|
"code_runner.nvim": { "branch": "main", "commit": "6c5bfe44a6c7523350cd706e6b3b8101166eed99" },
|
||||||
"codeium.vim": { "branch": "main", "commit": "289eb724e5d6fab2263e94a1ad6e54afebefafb2" },
|
"codeium.vim": { "branch": "main", "commit": "289eb724e5d6fab2263e94a1ad6e54afebefafb2" },
|
||||||
"darcula-dark.nvim": { "branch": "main", "commit": "9009c7ad4527e8197b95febb76323a2d23156ddb" },
|
|
||||||
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
"dressing.nvim": { "branch": "master", "commit": "572314728cb1ce012e825fd66331f52c94acac12" },
|
||||||
"friendly-snippets": { "branch": "main", "commit": "d0610077b6129cf9f7f78afbe3a1425d60f6e2f1" },
|
"friendly-snippets": { "branch": "main", "commit": "d0610077b6129cf9f7f78afbe3a1425d60f6e2f1" },
|
||||||
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
|
"gitsigns.nvim": { "branch": "main", "commit": "76927d14d3fbd4ba06ccb5246e79d93b5442c188" },
|
||||||
|
@ -31,13 +30,14 @@
|
||||||
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
"nvim-autopairs": { "branch": "master", "commit": "c15de7e7981f1111642e7e53799e1211d4606cb9" },
|
||||||
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
"nvim-cmp": { "branch": "main", "commit": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07" },
|
||||||
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
|
"nvim-colorizer.lua": { "branch": "master", "commit": "85855b38011114929f4058efc97af1059ab3e41d" },
|
||||||
|
"nvim-juliana": { "branch": "master", "commit": "a5da27b456f440e652e04e25a282800bee2ea1e9" },
|
||||||
"nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" },
|
"nvim-lspconfig": { "branch": "master", "commit": "0b8165cf95806bc4bb8f745bb0c92021b2ed4b98" },
|
||||||
"nvim-material-icon": { "branch": "main", "commit": "7a8893417c6947925d00946d16b81b56574796a9" },
|
"nvim-material-icon": { "branch": "main", "commit": "7a8893417c6947925d00946d16b81b56574796a9" },
|
||||||
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
"nvim-navic": { "branch": "master", "commit": "8649f694d3e76ee10c19255dece6411c29206a54" },
|
||||||
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
"nvim-notify": { "branch": "master", "commit": "d333b6f167900f6d9d42a59005d82919830626bf" },
|
||||||
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
|
"nvim-scrollview": { "branch": "main", "commit": "c29c5f69d37040a1fac88cbea7f5e6f06f0aff4d" },
|
||||||
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
"nvim-tree.lua": { "branch": "master", "commit": "2bc725a3ebc23f0172fb0ab4d1134b81bcc13812" },
|
||||||
"nvim-treesitter": { "branch": "master", "commit": "b91ae14fc3bb801c7ea69bc283fe860b32b5163d" },
|
"nvim-treesitter": { "branch": "master", "commit": "5c924407cf110e9da4f3ba02ffed127b4198ad89" },
|
||||||
"nvim-treesitter-textobjects": { "branch": "master", "commit": "3557e41418b4a6c5b85d5d64abe94c9c50fa9b14" },
|
"nvim-treesitter-textobjects": { "branch": "master", "commit": "3557e41418b4a6c5b85d5d64abe94c9c50fa9b14" },
|
||||||
"nvim-ts-autotag": { "branch": "main", "commit": "bcf3146864262ef2d3c877beba3e222b5c73780d" },
|
"nvim-ts-autotag": { "branch": "main", "commit": "bcf3146864262ef2d3c877beba3e222b5c73780d" },
|
||||||
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
"nvim-ts-context-commentstring": { "branch": "main", "commit": "cb064386e667def1d241317deed9fd1b38f0dc2e" },
|
||||||
|
|
|
@ -14,7 +14,8 @@
|
||||||
-- github_dark, github_dark_default, github_dark_colorblind, github_dark_dimmed
|
-- github_dark, github_dark_default, github_dark_colorblind, github_dark_dimmed
|
||||||
-- solarized-osaka
|
-- solarized-osaka
|
||||||
-- darcula-dark
|
-- darcula-dark
|
||||||
vim.g.pcode_colorscheme = "darcula-dark"
|
-- juliana
|
||||||
|
vim.g.pcode_colorscheme = "juliana"
|
||||||
|
|
||||||
-- 0 =off 1= on
|
-- 0 =off 1= on
|
||||||
vim.g.pcode_transparent_mode = 0
|
vim.g.pcode_transparent_mode = 0
|
||||||
|
|
18
lua/custom/plugins/juliana.lua
Normal file
18
lua/custom/plugins/juliana.lua
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
return {
|
||||||
|
-- "pojokcodeid/nvim-juliana",
|
||||||
|
-- lazy = false,
|
||||||
|
-- priority = 1000,
|
||||||
|
-- opts = {},
|
||||||
|
-- config = function()
|
||||||
|
-- vim.api.nvim_create_autocmd("ColorScheme", {
|
||||||
|
-- pattern = "*",
|
||||||
|
-- callback = function()
|
||||||
|
-- -- get colors
|
||||||
|
-- local colors = require("nvim-juliana").colors()
|
||||||
|
-- -- custom hilights
|
||||||
|
-- local hi = vim.api.nvim_set_hl
|
||||||
|
-- hi(0, "FoldColumn", { bg = colors.bg2 })
|
||||||
|
-- end,
|
||||||
|
-- })
|
||||||
|
-- end,
|
||||||
|
}
|
|
@ -1,24 +1,24 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"NvChad/nvim-colorizer.lua",
|
"NvChad/nvim-colorizer.lua",
|
||||||
opts = {
|
opts = {
|
||||||
user_default_options = {
|
user_default_options = {
|
||||||
tailwind = true,
|
tailwind = true,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
dependencies = {
|
dependencies = {
|
||||||
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
|
{ "roobert/tailwindcss-colorizer-cmp.nvim", config = true },
|
||||||
},
|
},
|
||||||
opts = function(_, opts)
|
opts = function(_, opts)
|
||||||
-- original kind icon formatter
|
-- original kind icon formatter
|
||||||
local format_kinds = opts.formatting.format
|
local format_kinds = opts.formatting.format
|
||||||
opts.formatting.format = function(entry, item)
|
opts.formatting.format = function(entry, item)
|
||||||
format_kinds(entry, item) -- add icons
|
format_kinds(entry, item) -- add icons
|
||||||
return require("tailwindcss-colorizer-cmp").formatter(entry, item)
|
return require("tailwindcss-colorizer-cmp").formatter(entry, item)
|
||||||
end
|
end
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -694,4 +694,23 @@ return {
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"pojokcodeid/nvim-juliana",
|
||||||
|
lazy = false,
|
||||||
|
enabled = (color == "juliana") and true or false,
|
||||||
|
priority = 1000,
|
||||||
|
opts = {},
|
||||||
|
config = function()
|
||||||
|
vim.api.nvim_create_autocmd("ColorScheme", {
|
||||||
|
pattern = "*",
|
||||||
|
callback = function()
|
||||||
|
-- get colors
|
||||||
|
local colors = require("nvim-juliana").colors()
|
||||||
|
-- custom hilights
|
||||||
|
local hi = vim.api.nvim_set_hl
|
||||||
|
hi(0, "FoldColumn", { bg = colors.bg2 })
|
||||||
|
end,
|
||||||
|
})
|
||||||
|
end,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,92 +1,92 @@
|
||||||
return {
|
return {
|
||||||
cmd = { "tailwindcss-language-server", "--stdio" },
|
-- cmd = { "tailwindcss-language-server", "--stdio" },
|
||||||
filetypes = {
|
-- filetypes = {
|
||||||
"aspnetcorerazor",
|
-- "aspnetcorerazor",
|
||||||
"astro",
|
-- "astro",
|
||||||
"astro-markdown",
|
-- "astro-markdown",
|
||||||
"blade",
|
-- "blade",
|
||||||
"clojure",
|
-- "clojure",
|
||||||
"django-html",
|
-- "django-html",
|
||||||
"htmldjango",
|
-- "htmldjango",
|
||||||
"edge",
|
-- "edge",
|
||||||
"eelixir",
|
-- "eelixir",
|
||||||
"elixir",
|
-- "elixir",
|
||||||
"ejs",
|
-- "ejs",
|
||||||
"erb",
|
-- "erb",
|
||||||
"eruby",
|
-- "eruby",
|
||||||
"gohtml",
|
-- "gohtml",
|
||||||
"gohtmltmpl",
|
-- "gohtmltmpl",
|
||||||
"haml",
|
-- "haml",
|
||||||
"handlebars",
|
-- "handlebars",
|
||||||
"hbs",
|
-- "hbs",
|
||||||
"html",
|
-- "html",
|
||||||
"html-eex",
|
-- "html-eex",
|
||||||
"heex",
|
-- "heex",
|
||||||
"jade",
|
-- "jade",
|
||||||
"leaf",
|
-- "leaf",
|
||||||
"liquid",
|
-- "liquid",
|
||||||
"markdown",
|
-- "markdown",
|
||||||
"mdx",
|
-- "mdx",
|
||||||
"mustache",
|
-- "mustache",
|
||||||
"njk",
|
-- "njk",
|
||||||
"nunjucks",
|
-- "nunjucks",
|
||||||
"php",
|
-- "php",
|
||||||
"razor",
|
-- "razor",
|
||||||
"slim",
|
-- "slim",
|
||||||
"twig",
|
-- "twig",
|
||||||
"css",
|
-- "css",
|
||||||
"less",
|
-- "less",
|
||||||
"postcss",
|
-- "postcss",
|
||||||
"sass",
|
-- "sass",
|
||||||
"scss",
|
-- "scss",
|
||||||
"stylus",
|
-- "stylus",
|
||||||
"sugarss",
|
-- "sugarss",
|
||||||
"javascript",
|
-- "javascript",
|
||||||
"javascriptreact",
|
-- "javascriptreact",
|
||||||
"reason",
|
-- "reason",
|
||||||
"rescript",
|
-- "rescript",
|
||||||
"typescript",
|
-- "typescript",
|
||||||
"typescriptreact",
|
-- "typescriptreact",
|
||||||
"vue",
|
-- "vue",
|
||||||
"svelte",
|
-- "svelte",
|
||||||
"templ",
|
-- "templ",
|
||||||
},
|
-- },
|
||||||
-- init options
|
-- -- init options
|
||||||
init_options = {
|
-- init_options = {
|
||||||
userLanguages = {
|
-- userLanguages = {
|
||||||
eelixir = "html-eex",
|
-- eelixir = "html-eex",
|
||||||
eruby = "erb",
|
-- eruby = "erb",
|
||||||
templ = "html",
|
-- templ = "html",
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
-- root dir
|
-- -- root dir
|
||||||
root_dir = root_pattern(
|
-- root_dir = root_pattern(
|
||||||
"tailwind.config.js",
|
-- "tailwind.config.js",
|
||||||
"tailwind.config.cjs",
|
-- "tailwind.config.cjs",
|
||||||
"tailwind.config.mjs",
|
-- "tailwind.config.mjs",
|
||||||
"tailwind.config.ts",
|
-- "tailwind.config.ts",
|
||||||
"postcss.config.js",
|
-- "postcss.config.js",
|
||||||
"postcss.config.cjs",
|
-- "postcss.config.cjs",
|
||||||
"postcss.config.mjs",
|
-- "postcss.config.mjs",
|
||||||
"postcss.config.ts",
|
-- "postcss.config.ts",
|
||||||
"package.json",
|
-- "package.json",
|
||||||
"node_modules",
|
-- "node_modules",
|
||||||
".git"
|
-- ".git"
|
||||||
),
|
-- ),
|
||||||
-- settings
|
-- -- settings
|
||||||
settings = {
|
-- settings = {
|
||||||
tailwindCSS = {
|
-- tailwindCSS = {
|
||||||
classAttributes = { "class", "className", "class:list", "classList", "ngClass" },
|
-- classAttributes = { "class", "className", "class:list", "classList", "ngClass" },
|
||||||
lint = {
|
-- lint = {
|
||||||
cssConflict = "warning",
|
-- cssConflict = "warning",
|
||||||
invalidApply = "error",
|
-- invalidApply = "error",
|
||||||
invalidConfigPath = "error",
|
-- invalidConfigPath = "error",
|
||||||
invalidScreen = "error",
|
-- invalidScreen = "error",
|
||||||
invalidTailwindDirective = "error",
|
-- invalidTailwindDirective = "error",
|
||||||
invalidVariant = "error",
|
-- invalidVariant = "error",
|
||||||
recommendedVariantOrder = "warning",
|
-- recommendedVariantOrder = "warning",
|
||||||
},
|
-- },
|
||||||
validate = true,
|
-- validate = true,
|
||||||
},
|
-- },
|
||||||
},
|
-- },
|
||||||
}
|
}
|
||||||
|
|
|
@ -33,6 +33,7 @@ local mode_map = {
|
||||||
["VISUAL"] = "V",
|
["VISUAL"] = "V",
|
||||||
["REPLACE"] = "R",
|
["REPLACE"] = "R",
|
||||||
["COMMAND"] = "C",
|
["COMMAND"] = "C",
|
||||||
|
["O-PENDING"] = "O",
|
||||||
}
|
}
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue