1
0
Fork 0
dotfiles/home/config/nvim/nifoc/theme.fnl

40 lines
1.4 KiB
Text
Raw Normal View History

2022-05-12 21:49:19 +02:00
(import-macros {: colorscheme : highlight : highlight-link} :../macros/cmd)
2022-04-17 00:24:03 +02:00
(let [mod {}
o vim.opt
g vim.g
2022-05-01 21:52:10 +02:00
dracula (require :dracula)
2022-05-12 21:49:19 +02:00
dracula-colors (dracula.colors)]
2022-08-29 22:36:11 +02:00
(set mod.colors dracula-colors)
2022-04-17 00:24:03 +02: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 21:49:19 +02:00
(colorscheme :dracula)
2022-11-11 15:06:11 +01:00
;; LSP
(highlight-link :LspCodeLens :Comment)
2022-08-29 00:33:48 +02:00
;; Tabline
2022-08-29 22:36:11 +02:00
(highlight :TabLine {:fg mod.colors.comment :bg mod.colors.black})
(highlight :TabLineSel {:fg mod.colors.white :bg mod.colors.bg})
(highlight :TabLineFill {:bg mod.colors.black})
2022-05-04 15:03:25 +02:00
;; vim-matchup
2022-08-29 22:36:11 +02:00
(highlight :MatchParen {:fg mod.colors.orange :bold true :italic true})
2022-05-01 21:52:10 +02:00
(highlight :MatchWord {:italic true})
2022-05-04 15:03:25 +02:00
(highlight-link :MatchupVirtualText :Comment)
2022-08-20 21:10:22 +02:00
;; vim-illuminate
2022-08-29 22:36:11 +02:00
(highlight :IlluminatedWordText {:bg mod.colors.selection})
(highlight :IlluminatedWordRead {:bg mod.colors.selection})
2023-03-04 20:07:46 +01:00
(highlight :IlluminatedWordWrite {:bg mod.colors.selection :underline true})
;; nvim-ts-rainbow2
(highlight :TSRainbowRed {:fg mod.colors.red})
(highlight :TSRainbowYellow {:fg mod.colors.yellow})
(highlight :TSRainbowBlue {:fg mod.colors.purple})
(highlight :TSRainbowOrange {:fg mod.colors.orange})
(highlight :TSRainbowGreen {:fg mod.colors.green})
(highlight :TSRainbowViolet {:fg mod.colors.pink})
(highlight :TSRainbowCyan {:fg mod.colors.cyan}))
2022-04-17 00:24:03 +02:00
mod)
2022-05-01 21:52:10 +02:00