Skip to content

Commit

Permalink
fix(highlight): move highlight to correct location
Browse files Browse the repository at this point in the history
  • Loading branch information
xav-ie committed Oct 20, 2024
1 parent e8fbdc7 commit 63d741c
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 23 deletions.
9 changes: 0 additions & 9 deletions config/extraConfigLua.nix
Original file line number Diff line number Diff line change
Expand Up @@ -75,18 +75,9 @@
desc = "Notify when recording macro",
})
'';

randomHighlightConfig = # lua
''
-- TODO: how to use color scheme
vim.cmd('highlight TSProperty guifg=#FFD242')
vim.cmd('highlight TSType guifg=#00a0f0')
vim.cmd('highlight TSNumber guifg=#be620a')
'';
in
# lua
''
${randomHighlightConfig}
${clipBoardConfig}
${caseChangeFunctions}
'';
Expand Down
35 changes: 21 additions & 14 deletions config/highlight.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,6 @@
config = {
# TODO: clean this up
highlight = {
# ColorColumn = {
# underline = true;
# };

PmenuSel = {
bg = "#504945";
fg = "NONE";
};
Pmenu = {
fg = "#ebdbb2";
bg = "#282828";
};

CmpItemAbbrDeprecated = {
fg = "#d79921";
bg = "NONE";
Expand Down Expand Up @@ -144,14 +131,34 @@
fg = "#fbf1c7";
bg = "#83a598";
};
# ColorColumn = {
# underline = true;
# };

FloatBorder = {
fg = "#a89984";
};

PmenuSel = {
bg = "#504945";
fg = "NONE";
};
Pmenu = {
fg = "#ebdbb2";
bg = "#282828";
};
TabLineFill = {
# tab bar background
bg = "NONE";
};
TSProperty = {
fg = "#FFD242";
};
TSType = {
fg = "#00a0f0";
};
TSNumber = {
fg = "#be620a";
};
};
};
}

0 comments on commit 63d741c

Please sign in to comment.