Skip to content

Help with setting colors #460

Closed Answered by quin-shanley
quin-shanley asked this question in Q&A
Discussion options

You must be logged in to vote

After some more research, I learned these colors are managed by neovim's syntax highlighting https://neovim.io/doc/user/syntax.html

I was able to customize the colors using vim.cmd() and the highlight command.

I added the following to my config and here's the result.

vim.cmd([[highlight OctoEditable guibg=#2f334d]])
local floatbg = "#363a4f"
vim.cmd([[highlight OctoGreenFloat guifg=#238636 guibg=]] .. floatbg)
vim.cmd([[highlight OctoRedFloat   guifg=#da3633 guibg=]] .. floatbg)
vim.cmd([[highlight OctoPurpleFloat guifg=#6f42c1 guibg=]] .. floatbg)
vim.cmd([[highlight OctoYellowFloat guifg=#d3c846 guibg=]] .. floatbg)
vim.cmd([[highlight OctoBlueFloat  guifg=#58a6ff guibg=]] .. floatbg)
v…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by quin-shanley
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant