diff options
| author | Martin Fischer <martin@push-f.com> | 2026-10-24 10:07:47 +0200 |
|---|---|---|
| committer | Martin Fischer <martin@push-f.com> | 2026-10-30 18:02:24 +0100 |
| commit | b44a0aaced934f52bfb03c403675547f01e1d66d (patch) | |
| tree | 36f7d8476664ca239be1c0a0edc05397301ffd95 | |
| parent | d5a2aa0aa458d2d51336d288dff758810c8f360f (diff) | |
tweak(user/nvim): make Markdown headings blue
| -rw-r--r-- | user/nvim/init.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/user/nvim/init.lua b/user/nvim/init.lua index 41206e0..a129800 100644 --- a/user/nvim/init.lua +++ b/user/nvim/init.lua @@ -15,6 +15,20 @@ vim.opt.smartcase = true require('vscode').setup({ -- Enable transparent background. transparent = true, + -- The vscode color scheme gives each Markdown heading level + -- a different color by default. Make them blue instead. + group_overrides = (function() + local colors = require('vscode.colors').get_colors() + local overrides = {} + for level = 1, 6 do + overrides['@markup.heading.' .. level .. '.markdown'] = { + fg = colors.vscBlue, + bg = 'NONE', + bold = true, + } + end + return overrides + end)(), }) vim.cmd.colorscheme "vscode" |
