2022-05-12 19:49:19 +00:00
|
|
|
(import-macros {: colorscheme : highlight : highlight-link} :../macros/cmd)
|
|
|
|
|
2022-04-16 22:24:03 +00:00
|
|
|
(let [mod {}
|
|
|
|
o vim.opt
|
|
|
|
g vim.g
|
2022-05-01 19:52:10 +00:00
|
|
|
dracula (require :dracula)
|
2022-05-12 19:49:19 +00:00
|
|
|
dracula-colors (dracula.colors)]
|
2022-04-16 22:24:03 +00:00
|
|
|
(fn mod.setup []
|
|
|
|
(set g.dracula_show_end_of_buffer false)
|
|
|
|
(set g.dracula_italic_comment true)
|
|
|
|
(set o.background :dark)
|
2022-05-12 19:49:19 +00:00
|
|
|
(colorscheme :dracula)
|
2022-05-04 13:03:25 +00:00
|
|
|
;; vim-matchup
|
2022-05-01 19:52:10 +00:00
|
|
|
(highlight :MatchParen {:fg dracula-colors.orange :bold true :italic true})
|
|
|
|
(highlight :MatchWord {:italic true})
|
2022-05-04 13:03:25 +00:00
|
|
|
(highlight-link :MatchupVirtualText :Comment)
|
2022-08-20 19:10:22 +00:00
|
|
|
;; vim-illuminate
|
|
|
|
(highlight :IlluminatedWordText {:bg dracula-colors.selection})
|
|
|
|
(highlight :IlluminatedWordRead {:bg dracula-colors.selection})
|
|
|
|
(highlight :IlluminatedWordWrite
|
2022-08-24 20:39:31 +00:00
|
|
|
{:bg dracula-colors.selection :underline true}))
|
2022-04-16 22:24:03 +00:00
|
|
|
|
|
|
|
mod)
|
2022-05-01 19:52:10 +00:00
|
|
|
|