From f28d64079567878a0fccbf56fc9c4722cea9f1d9 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 6 Sep 2025 22:16:40 +0100 Subject: [PATCH] Configure asciidoc files --- modules/nixvim/ftplugin/asciidoc.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/nixvim/ftplugin/asciidoc.nix b/modules/nixvim/ftplugin/asciidoc.nix index 08afc452..b7a9529f 100644 --- a/modules/nixvim/ftplugin/asciidoc.nix +++ b/modules/nixvim/ftplugin/asciidoc.nix @@ -5,7 +5,9 @@ { pkgs, ... }: { extraFiles."after/ftplugin/asciidoc.lua".text = '' - vim.opt_local.makeprg = "${lib.getExe pkgs.asciidoctor} %"; + vim.opt_local.linebreak = true + vim.opt_local.makeprg = "${lib.getExe pkgs.asciidoctor} %" + vim.opt_local.spell = true ''; }; }