nvim-config

Log | Files | Refs | Submodules | README

commit 840b2ec9b763f78f45093881d6453bebb6ae6e70
parent 455a0919c76802b351d871331181b452f5064e9d
Author: Thomas Vigouroux <me@vigoux.eu>
Date:   Wed, 27 Mar 2024 11:37:09 +0100

Disable spell

Diffstat:
Mafter/ftplugin/tex.lua | 2--
Minit.lua | 4++--
2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/after/ftplugin/tex.lua b/after/ftplugin/tex.lua @@ -3,10 +3,8 @@ vim.opt_local.formatlistpat = "^\\s*\\\\item\\s*" vim.opt_local.textwidth = 100 vim.opt_local.conceallevel = 0 vim.opt_local.foldmethod = "marker" -vim.opt_local.spell = true vim.opt_local.foldmarker = "%(,%)" vim.opt_local.wrap = false -vim.opt_local.spellcapcheck = "\\(verb.\\+\\)\\@<![.?!]\\_[\\])'\"\t\n]\\+" vim.cmd [[normal zx]] diff --git a/init.lua b/init.lua @@ -21,9 +21,9 @@ o.termguicolors = true o.splitright = true o.lazyredraw = true o.foldenable = false -o.spelllang = { "en", "fr" } +-- o.spelllang = { "en", "fr" } -- vim.o.spellfile = table.concat(vim.api.nvim_get_runtime_file("spell/*.add", true) or {}, ",") -o.spelloptions = { 'noplainbuffer' } +-- o.spelloptions = { 'noplainbuffer' } o.textwidth = 100 o.colorcolumn = "+0" o.signcolumn = "yes:1"