From b318c619a56761d1c14416a735f9054512c37d66 Mon Sep 17 00:00:00 2001 From: Siddhartha Menon <42359201+Sqvid@users.noreply.github.com> Date: Tue, 8 Aug 2023 17:46:38 +0100 Subject: [PATCH] Set spell for *.tex, disable treesitter highlight --- neovim/.config/nvim/ftplugin/tex.vim | 1 + neovim/.config/nvim/lua/autocmds.lua | 2 +- neovim/.config/nvim/lua/plugins/nvim-treesitter/init.lua | 1 - 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/neovim/.config/nvim/ftplugin/tex.vim b/neovim/.config/nvim/ftplugin/tex.vim index 98e7a49..860f6c5 100644 --- a/neovim/.config/nvim/ftplugin/tex.vim +++ b/neovim/.config/nvim/ftplugin/tex.vim @@ -1 +1,2 @@ set complete+=kspell +setlocal spell diff --git a/neovim/.config/nvim/lua/autocmds.lua b/neovim/.config/nvim/lua/autocmds.lua index 12143ce..169fc10 100644 --- a/neovim/.config/nvim/lua/autocmds.lua +++ b/neovim/.config/nvim/lua/autocmds.lua @@ -77,7 +77,7 @@ autocmd("VimEnter", { if func.filereadable(sessionfile) == 1 then vim.ui.input( { - prompt = "Detected session file. Restore it? (y/n): " + prompt = "Detected a session file. Restore it? (y/n): " }, function(input) diff --git a/neovim/.config/nvim/lua/plugins/nvim-treesitter/init.lua b/neovim/.config/nvim/lua/plugins/nvim-treesitter/init.lua index b98cb84..4718d85 100644 --- a/neovim/.config/nvim/lua/plugins/nvim-treesitter/init.lua +++ b/neovim/.config/nvim/lua/plugins/nvim-treesitter/init.lua @@ -13,7 +13,6 @@ return { "lua", "ocaml" }, - highlight = { enable = true }, indent = { enable = true } } end