Skip to content

Commit

Permalink
feat(nvim): better highlight for .md
Browse files Browse the repository at this point in the history
  • Loading branch information
black-desk committed Jan 10, 2022
1 parent 930f761 commit d122b69
Showing 1 changed file with 14 additions and 1 deletion.
15 changes: 14 additions & 1 deletion private_dot_config/nvim/lua/plugins-d/_onedark-vim.lua
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
local config = function()
require('onedark').load()
local od = require('onedark')
od.setup({
highlights = {
TSText = {fg = '$fg'},
TSStrong = {fg = '$fg', fmt = 'bold'},
TSEmphasis = {fg = '$fg', fmt = 'italic'},
TSUnderline = {fg = '$fg', fmt = 'underline'},
TSStrike = {fg = '$fg', fmt = 'strikethrough'},
TSTitle = {fg = '$orange', fmt = 'bold'},
TSURI = {fg = '$cyan', fmt = 'underline'},
},
})
od.load()
end

return {
'navarasu/onedark.nvim',
config = config,
Expand Down

0 comments on commit d122b69

Please sign in to comment.