nvim-config

Log | Files | Refs | Submodules | README

commit 50ab8bab2d1430b302fe6045963a9fe0e59d980e
parent e4c855fe36fc6630c2bcc3789b5b4cbe192d49f5
Author: Thomas Vigouroux <thomas.vigouroux@protonmail.com>
Date:   Wed, 22 Jun 2022 08:12:36 +0200

feat: update default dict

Diffstat:
Aafter/ftplugin/tex.lua | 12++++++++++++
Dafter/ftplugin/tex.vim | 12------------
Mdict/default.txt | 3+++
3 files changed, 15 insertions(+), 12 deletions(-)

diff --git a/after/ftplugin/tex.lua b/after/ftplugin/tex.lua @@ -0,0 +1,12 @@ +vim.opt_local.formatoptions:append { t = true, c = true, n = true} +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.foldmarker = "%(,%)" + +vim.cmd [[normal zx]] + +if #vim.fs.find({ "Makefile", "makefile" }, { type = "file" }) == 0 then + vim.cmd[[compiler latexmk]] +end diff --git a/after/ftplugin/tex.vim b/after/ftplugin/tex.vim @@ -1,12 +0,0 @@ -" Last Change: 2021 Nov 24 -setlocal formatoptions+=tc -setlocal textwidth=100 -set conceallevel=0 -set foldmethod=marker -set foldmarker=%(,%) - -normal zx - -if globpath('.', '?akefile*') ==? '' - compiler latexmk -endif diff --git a/dict/default.txt b/dict/default.txt @@ -9,3 +9,6 @@ DBA VEX TAVA bitvector +Dolev +Yao +FMCAD