From 1a14118877cf9cd8678aa636737d1bac915552a7 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 14 Dec 2024 02:51:21 +0000 Subject: [PATCH] Configure Neovim for the text filetype --- nvim/after/ftplugin/text.lua | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 nvim/after/ftplugin/text.lua diff --git a/nvim/after/ftplugin/text.lua b/nvim/after/ftplugin/text.lua new file mode 100644 index 0000000..f1eaea8 --- /dev/null +++ b/nvim/after/ftplugin/text.lua @@ -0,0 +1,6 @@ +local opt = vim.opt_local + +opt.number = false +opt.relativenumber = false +opt.spell = true +opt.wrap = true