highlights.lua 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. -- vim:fileencoding=utf-8:foldmethod=marker:foldmarker={{{,}}}
  2. -- To find any highlight groups: ":Telescope highlights"
  3. -- Each highlight group can take a table with variables fg, bg, bold, italic, etc
  4. -- base30 variable names can also be used as colors
  5. -- To get highlight groups under cursor: ":Inspect"
  6. -- WARN:
  7. -- Do not set colors here. First - set color in lua/custom/colors.lua and then create new highlight rule
  8. local custom_colors = require "custom.colors"
  9. local M = {}
  10. ---@type Base46HLGroupsList
  11. M.override = {
  12. -- {{{ Comment
  13. ["@comment"] = {
  14. italic = true,
  15. --bold = true,
  16. --fg = "#337922",
  17. fg = custom_colors.comment_fg,
  18. },
  19. Comment = {
  20. italic = true,
  21. -- fg = "#6A440A",
  22. fg = custom_colors.comment_fg,
  23. },
  24. -- }}}
  25. -- {{{ Diff
  26. DiffChange = {
  27. bg = custom_colors.diffChange_bg,
  28. fg = "none",
  29. },
  30. DiffAdd = {
  31. bg = custom_colors.diffAdd_bg,
  32. fg = "none",
  33. },
  34. DiffRemoved = {
  35. bg = custom_colors.diffRemoved_bg,
  36. fg = "none",
  37. },
  38. -- }}}
  39. -- {{{ Nvim folds
  40. -- Nvim folds
  41. Folded = {
  42. bold = true,
  43. fg = custom_colors.nvim_Fold_fg,
  44. },
  45. -- }}}
  46. -- {{{ NvimTree
  47. -- NOT opened folders
  48. NvimTreeFolderName = { fg = custom_colors.nvimTreeFolderName_fg, bold = true },
  49. -- Opened folders
  50. NvimTreeOpenedFolderName = { bg = custom_colors.nvimTreeOpenedFolderName_bg, bold = true, italic = true },
  51. -- New files for Git
  52. -- Default is fg = "#fae3b0"
  53. NvimTreeGitNew = { fg = custom_colors.nvimTreeGitNew_fg, bold = true },
  54. -- }}}
  55. }
  56. return M