1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +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
BlinkCmpLabel = { link = 'CmpItemAbbr' },
BlinkCmpLabelMatch = { link = 'CmpItemAbbrMatch' },
BlinkCmpLabelDeprecated = { link = 'CmpItemAbbrDeprecated'},
BlinkCmpLabelDeprecated = { link = 'CmpItemAbbrDeprecated' },
BlinkCmpLabelDetail = { link = 'CmpItemMenu' },
BlinkCmpLabelDescription = { link = 'CmpItemMenu' },
@ -127,6 +127,9 @@ local custom_highlights = function(colors)
BlinkCmpKindOperator = { link = "CmpItemKindOperator" },
BlinkCmpKindTypeParameter = { link = "CmpItemKindTypeParameter" },
-- DAP
DapStopped = { fg = colors.yellow },
-- Neotest
NeoTestWinSelect = { fg = colors.mauve },
NeoTestIndent = { fg = colors.surface1 },
@ -144,10 +147,10 @@ local custom_highlights = function(colors)
NeoTestMarked = { fg = colors.orange },
-- Diagnostics
DiagnosticUnderlineInfo = { style = {"undercurl"} },
DiagnosticUnderlineHint = { style = {"undercurl"} },
DiagnosticUnderlineWarn = { style = {"undercurl"} },
DiagnosticUnderlineError = { style = {"undercurl"} },
DiagnosticUnderlineInfo = { style = { "undercurl" } },
DiagnosticUnderlineHint = { style = { "undercurl" } },
DiagnosticUnderlineWarn = { style = { "undercurl" } },
DiagnosticUnderlineError = { style = { "undercurl" } },
-- Markdown rendering
RenderMarkdownCode = { bg = colors.crust },
@ -198,11 +201,12 @@ local custom_highlights = function(colors)
["@punctuation.bracket"] = { link = "@punctuation" },
-- Comments
["@punctuation.delimiter.comment"] = { link = "@Comment"},
["@punctuation.delimiter.comment"] = { link = "@Comment" },
["@comment.error"] = { link = "@Comment" },
["@comment.warning"] = { link = "@Comment" },
["@comment.todo"] = { link = "@Comment" },
["@comment.note.comment"] = { link = "@Comment" },
["@number.comment"] = { fg = colors.green },
-- LSP
["@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 %}