From 5450d0c189cf7b37d751375d092b1ae9590a0cfc Mon Sep 17 00:00:00 2001 From: David JULIEN Date: Sat, 20 Nov 2021 16:04:18 +0100 Subject: [PATCH] [nvim] feat: tex formatoptions --- .config/nvim/after/ftplugin/tex.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.config/nvim/after/ftplugin/tex.lua b/.config/nvim/after/ftplugin/tex.lua index 03263b5..f04c922 100644 --- a/.config/nvim/after/ftplugin/tex.lua +++ b/.config/nvim/after/ftplugin/tex.lua @@ -1,9 +1,15 @@ -- Author : swytch -- Created : Monday Oct. 04, 2021 16:09:13 CET -- License : GPLv3 --- Description : tex fietype config +-- Description : tex filetype config +local opt = vim.opt +local g = vim.g + +opt.formatoptions = "trq1jp" +opt.tabstop = 4 + -- Caps utils.map("i", "AA", "À") utils.map("i", "CC", "Ç")