From 324201856cdfd2b4c66a422bf2c37f7a6931a4e1 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Tue, 28 Jun 2016 11:40:12 -0700 Subject: [PATCH] neovim: enable spellcheck for md files --- configuration/common/pkg/neovim.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configuration/common/pkg/neovim.nix b/configuration/common/pkg/neovim.nix index 0aee443..2dd5693 100644 --- a/configuration/common/pkg/neovim.nix +++ b/configuration/common/pkg/neovim.nix @@ -112,6 +112,9 @@ in { \ } " } + " spelling {{{ + au BufRead,BufNewFile *.md,*.markdown setlocal spell spelllang=en_us,de_de + " }}} " sync default register to clipboard { if has('unnamedplus')