From 230f7fa4ecee93e4ead25c391fa0468b8853c5c9 Mon Sep 17 00:00:00 2001 From: Crony Akatsuki Date: Wed, 5 Feb 2025 01:40:49 +0100 Subject: [PATCH] Enable css, enable mini.hipatterns. --- modules/home-manager/neovim.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/modules/home-manager/neovim.nix b/modules/home-manager/neovim.nix index 479cb22..a60fa40 100644 --- a/modules/home-manager/neovim.nix +++ b/modules/home-manager/neovim.nix @@ -58,8 +58,13 @@ enableTreesitter = true; enableFormat = true; + css = { + enable = true; + format.enable = true; + }; ts = { enable = true; + format.enable = true; }; nix = { enable = true; @@ -83,6 +88,14 @@ indentscope.enable = true; bufremove.enable = true; git.enable = true; + hipatterns = { + enable = true; + setupOpts = { + highlighters = { + hex_color = lib.generators.mkLuaInline "require('mini.hipatterns').gen_highlighter.hex_color()"; + }; + }; + }; }; # Use telescope