From 668a8a6d5f38fe161d32b7ee1d04976fc0408723 Mon Sep 17 00:00:00 2001 From: José Juan Loeza Sierra Date: Sat, 8 Nov 2025 12:53:30 -0800 Subject: create and add custom spellcheck plugin much credit to this post: https://www.reddit.com/r/neovim/comments/1fwqc8t/how_to_enable_spell_check_for_only_specific_files/ --- dot-config/nvim/plugin/spellcheck.lua | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dot-config/nvim/plugin/spellcheck.lua (limited to 'dot-config/nvim/plugin/spellcheck.lua') diff --git a/dot-config/nvim/plugin/spellcheck.lua b/dot-config/nvim/plugin/spellcheck.lua new file mode 100644 index 0000000..21bffb1 --- /dev/null +++ b/dot-config/nvim/plugin/spellcheck.lua @@ -0,0 +1,5 @@ +-- Enable custom spellcheck plugin + +require("spellcheck").setup({ + filetypes = { "gitcommit", "markdown", "plaintext", "text", "typst" }, +}) -- cgit v1.3