From 0e966206f2b35317ea092c0b84d0148f1fbe8558 Mon Sep 17 00:00:00 2001 From: Dan Anglin Date: Sun, 27 Mar 2022 00:07:38 +0000 Subject: [PATCH] feat: set spelling for markdown and gitcommit --- neovim/after/ftplugin/gitcommit.lua | 4 ++++ neovim/after/ftplugin/markdown.lua | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 neovim/after/ftplugin/gitcommit.lua create mode 100644 neovim/after/ftplugin/markdown.lua diff --git a/neovim/after/ftplugin/gitcommit.lua b/neovim/after/ftplugin/gitcommit.lua new file mode 100644 index 0000000..83d0b38 --- /dev/null +++ b/neovim/after/ftplugin/gitcommit.lua @@ -0,0 +1,4 @@ +local setlocal = vim.opt_local + +setlocal.spell = true +setlocal.spelllang = "en_gb" diff --git a/neovim/after/ftplugin/markdown.lua b/neovim/after/ftplugin/markdown.lua new file mode 100644 index 0000000..83d0b38 --- /dev/null +++ b/neovim/after/ftplugin/markdown.lua @@ -0,0 +1,4 @@ +local setlocal = vim.opt_local + +setlocal.spell = true +setlocal.spelllang = "en_gb"