From 2542e73db8d30483408cbc13a3390c39a0d070ae Mon Sep 17 00:00:00 2001 From: Barrett Ruth Date: Sat, 8 Nov 2025 13:13:40 -0500 Subject: [PATCH] fix(ci): format --- .gitignore | 1 + README.md | 1 + lua/midnight/theme.lua | 36 ++++++------------------------------ 3 files changed, 8 insertions(+), 30 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..c2658d7 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +node_modules/ diff --git a/README.md b/README.md index 0192117..210d585 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,7 @@ neovim theme for code, not colors. end, } ``` + ## Plugin Integration - [treesitter](https://github.com/nvim-treesitter/nvim-treesitter) diff --git a/lua/midnight/theme.lua b/lua/midnight/theme.lua index 4d24774..07be7b1 100644 --- a/lua/midnight/theme.lua +++ b/lua/midnight/theme.lua @@ -96,11 +96,7 @@ function M.apply() tshi('Keyword', { fg = cs.blue }, { 'Statement' }) tshi('Namespace', { fg = cs.white }) tshi('Number', { fg = cs.green }) - tshi( - 'Operator', - { fg = cs.white }, - { '@keyword.operator', '@conditional.ternary' } - ) + tshi('Operator', { fg = cs.white }, { '@keyword.operator', '@conditional.ternary' }) hi('Delimiter', { none = true }) hi('@punctuation.delimiter', { fg = cs.white }) tshi('PreProc', { fg = cs.blue }) @@ -135,31 +131,11 @@ function M.apply() hi('LspInlayHint', { fg = cs.light_black }) hi('LspSignatureActiveParameter', { underline = true, italic = true }) - hi( - 'DiagnosticError', - { fg = cs.red }, - { 'DiagnosticFloatingError', 'DiagnosticSignError' } - ) - hi( - 'DiagnosticWarn', - { fg = cs.yellow }, - { 'DiagnosticFloatingWarn', 'DiagnosticSignWarn' } - ) - hi( - 'DiagnosticHint', - { fg = cs.white }, - { 'DiagnosticFloatingHint', 'DiagnosticSignHint' } - ) - hi( - 'DiagnosticOk', - { fg = cs.green }, - { 'DiagnosticFloatingOk', 'DiagnosticSignOk' } - ) - hi( - 'DiagnosticInfo', - { fg = cs.white }, - { 'DiagnosticFloatingInfo', 'DiagnosticSignInfo' } - ) + hi('DiagnosticError', { fg = cs.red }, { 'DiagnosticFloatingError', 'DiagnosticSignError' }) + hi('DiagnosticWarn', { fg = cs.yellow }, { 'DiagnosticFloatingWarn', 'DiagnosticSignWarn' }) + hi('DiagnosticHint', { fg = cs.white }, { 'DiagnosticFloatingHint', 'DiagnosticSignHint' }) + hi('DiagnosticOk', { fg = cs.green }, { 'DiagnosticFloatingOk', 'DiagnosticSignOk' }) + hi('DiagnosticInfo', { fg = cs.white }, { 'DiagnosticFloatingInfo', 'DiagnosticSignInfo' }) hi('DiagnosticUnderlineError', { undercurl = true, special = cs.red }) hi('DiagnosticUnderlineWarn', { undercurl = true, special = cs.yellow }) hi('DiagnosticUnderlineHint', { undercurl = true, special = cs.white })