From 13226ef37eda4fade59ad405edf0a11b051015f5 Mon Sep 17 00:00:00 2001
From: katherine <ageha@airen-no-jikken.icu>
Date: Sun, 5 Mar 2023 22:44:53 -0700
Subject: toplevel spell in latex files

---
 .vimrc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/.vimrc b/.vimrc
index 4c68c79..2c9f6d2 100644
--- a/.vimrc
+++ b/.vimrc
@@ -46,7 +46,9 @@ Plug 'junegunn/goyo.vim'
 Plug 'itchyny/lightline.vim'
 
 Plug 'MarcWeber/vim-addon-mw-utils'
+
 Plug 'tomtom/tlib_vim'
+
 Plug 'garbas/vim-snipmate'
 
 Plug 'dhruvasagar/vim-table-mode'
@@ -594,6 +596,7 @@ fun! s:settings_tex()
 	setlocal tabstop=4
 	setlocal softtabstop=4
 	setlocal spell
+	syntax spell toplevel
 	"mappings
 	nnoremap <buffer> -- O%<Space>
 	nnoremap <buffer> <Leader>c :!latex -output-format=pdf "%"<CR><CR>
-- 
cgit v1.2.3