1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-25 19:33:41 +02:00

nvim/lua/user/plugins/ui/colorscheme.lua: update

This commit is contained in:
Henrik Hautakoski 2025-10-16 18:45:52 +02:00
parent 069e6866e9
commit 4620d33296
2 changed files with 26 additions and 6 deletions

View file

@ -95,7 +95,7 @@ local custom_highlights = function(colors)
-- BlinkCmp -- BlinkCmp
BlinkCmpLabel = { link = 'CmpItemAbbr' }, BlinkCmpLabel = { link = 'CmpItemAbbr' },
BlinkCmpLabelMatch = { link = 'CmpItemAbbrMatch' }, BlinkCmpLabelMatch = { link = 'CmpItemAbbrMatch' },
BlinkCmpLabelDeprecated = { link = 'CmpItemAbbrDeprecated'}, BlinkCmpLabelDeprecated = { link = 'CmpItemAbbrDeprecated' },
BlinkCmpLabelDetail = { link = 'CmpItemMenu' }, BlinkCmpLabelDetail = { link = 'CmpItemMenu' },
BlinkCmpLabelDescription = { link = 'CmpItemMenu' }, BlinkCmpLabelDescription = { link = 'CmpItemMenu' },
@ -127,6 +127,9 @@ local custom_highlights = function(colors)
BlinkCmpKindOperator = { link = "CmpItemKindOperator" }, BlinkCmpKindOperator = { link = "CmpItemKindOperator" },
BlinkCmpKindTypeParameter = { link = "CmpItemKindTypeParameter" }, BlinkCmpKindTypeParameter = { link = "CmpItemKindTypeParameter" },
-- DAP
DapStopped = { fg = colors.yellow },
-- Neotest -- Neotest
NeoTestWinSelect = { fg = colors.mauve }, NeoTestWinSelect = { fg = colors.mauve },
NeoTestIndent = { fg = colors.surface1 }, NeoTestIndent = { fg = colors.surface1 },
@ -144,10 +147,10 @@ local custom_highlights = function(colors)
NeoTestMarked = { fg = colors.orange }, NeoTestMarked = { fg = colors.orange },
-- Diagnostics -- Diagnostics
DiagnosticUnderlineInfo = { style = {"undercurl"} }, DiagnosticUnderlineInfo = { style = { "undercurl" } },
DiagnosticUnderlineHint = { style = {"undercurl"} }, DiagnosticUnderlineHint = { style = { "undercurl" } },
DiagnosticUnderlineWarn = { style = {"undercurl"} }, DiagnosticUnderlineWarn = { style = { "undercurl" } },
DiagnosticUnderlineError = { style = {"undercurl"} }, DiagnosticUnderlineError = { style = { "undercurl" } },
-- Markdown rendering -- Markdown rendering
RenderMarkdownCode = { bg = colors.crust }, RenderMarkdownCode = { bg = colors.crust },
@ -198,11 +201,12 @@ local custom_highlights = function(colors)
["@punctuation.bracket"] = { link = "@punctuation" }, ["@punctuation.bracket"] = { link = "@punctuation" },
-- Comments -- Comments
["@punctuation.delimiter.comment"] = { link = "@Comment"}, ["@punctuation.delimiter.comment"] = { link = "@Comment" },
["@comment.error"] = { link = "@Comment" }, ["@comment.error"] = { link = "@Comment" },
["@comment.warning"] = { link = "@Comment" }, ["@comment.warning"] = { link = "@Comment" },
["@comment.todo"] = { link = "@Comment" }, ["@comment.todo"] = { link = "@Comment" },
["@comment.note.comment"] = { link = "@Comment" }, ["@comment.note.comment"] = { link = "@Comment" },
["@number.comment"] = { fg = colors.green },
-- LSP -- LSP
["@lsp.type.property"] = { link = "@variable" }, ["@lsp.type.property"] = { link = "@variable" },

View file

@ -0,0 +1,16 @@
<?php
namespace {{ prototype.namespace }};
use Illuminate\Support\Facades\Facade;
{% for class in prototype.classes %}
class {{ class.name }} extends Facade
{
protected static function getFacadeAccessor()
{
return '';
}
}
{% endfor %}