about summary refs log tree commit diff
path: root/pkgs/aszlig
diff options
context:
space:
mode:
authoraszlig <aszlig@nix.build>2023-03-31 19:06:44 +0200
committeraszlig <aszlig@nix.build>2023-03-31 19:11:38 +0200
commitd516484f47eaa3553e1f7812d32ef1ea633212a4 (patch)
tree407eea13e4d057807137c87bfe7ce77382d47215 /pkgs/aszlig
parent3b0a1c8f61b941df0abe9baf4e673d0846a6ce0f (diff)
vim/markdown: Remove dircolors syntax
The syntax file in question queries features from the current terminal
and will bring editing Markdown files to a crawl, freezing Vim for more
than ten seconds.

I haven't encountered a dircolors(1) file within a Markdown fenced code
block yet and even if this should be the case someday it's not worth the
high runtime cost.

Signed-off-by: aszlig <aszlig@nix.build>
Diffstat (limited to 'pkgs/aszlig')
-rw-r--r--pkgs/aszlig/vim/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/aszlig/vim/default.nix b/pkgs/aszlig/vim/default.nix
index e2b4dba6..05328412 100644
--- a/pkgs/aszlig/vim/default.nix
+++ b/pkgs/aszlig/vim/default.nix
@@ -497,8 +497,8 @@ let
 
     # Other markup languages I think are pretty unlikely to be included in
     # Markdown code blocks.
-    "asciidoc" "docbk" "docbksgml" "docbkxml" "doxygen" "groff" "nroff" "rst"
-    "rtf"
+    "asciidoc" "dircolors" "docbk" "docbksgml" "docbkxml" "doxygen" "groff"
+    "nroff" "rst" "rtf"
   ];
 
   transformer = writers.writePython3Bin "transform-languages" {