From 3becff422271fc026f4fa7fc6bc90fb6228f9d2f Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 25 Jul 2023 23:08:44 +0200 Subject: [PATCH] nvim: colorizer disabled for markdown --- .config/fontconfig/fonts.conf | 59 ++++++++++++-------------- .config/nvim/plugin/nvim-colorizer.lua | 5 ++- 2 files changed, 31 insertions(+), 33 deletions(-) diff --git a/.config/fontconfig/fonts.conf b/.config/fontconfig/fonts.conf index 582601d..cde78e9 100644 --- a/.config/fontconfig/fonts.conf +++ b/.config/fontconfig/fonts.conf @@ -1,36 +1,31 @@ - - serif - - Linux Libertine - Joy Pixels - Noto Color Emoji - - - - sans-serif - - Linux Biolinum - Joy Pixels - Noto Color Emoji - - - - sans - - Linux Biolinum - Joy Pixels - Noto Color Emoji - - - - monospace - - JetBrainsMono Nerd Font Mono - Joy Pixels - Noto Color Emoji - - + + serif + + Linux Libertine + Joy Pixels + Source Han Serif JP + Source Han Serif KR + + + + sans-serif + + Linux Biolinum + Joy Pixels + Source Han Sans JP + Source Han Sans KR + + + + monospace + + JetBrainsMono Nerd Font Mono + Joy Pixels + Source Han Mono + Source Han Mono K + + diff --git a/.config/nvim/plugin/nvim-colorizer.lua b/.config/nvim/plugin/nvim-colorizer.lua index 20b73ac..6ef84fb 100644 --- a/.config/nvim/plugin/nvim-colorizer.lua +++ b/.config/nvim/plugin/nvim-colorizer.lua @@ -1,2 +1,5 @@ -- norcalli/nvim-colorizer.lua -require 'colorizer'.setup() +require 'colorizer'.setup { + '*'; + '!markdown'; +}