Skip to content

Commit

Permalink
Highlight LSP references in Molokai colour scheme
Browse files Browse the repository at this point in the history
  • Loading branch information
dietrichm committed Oct 10, 2023
1 parent 0c7c59a commit 458e879
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions themes/default/nvim/.config/nvim/plugin/theme.lua
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
vim.api.nvim_create_autocmd('ColorScheme', {
pattern = 'molokai',
group = 'vimrc',
callback = function()
vim.cmd.highlight { 'LspReferenceText', 'guibg=#4c4745' }
vim.cmd.highlight { 'LspReferenceRead', 'guibg=#4c4745' }
vim.cmd.highlight { 'LspReferenceWrite', 'guibg=#4c4745' }
end
})

vim.cmd.colorscheme('molokai')

0 comments on commit 458e879

Please sign in to comment.