From c2872eae66cfb9ca1f7862b2a4f748357972724f Mon Sep 17 00:00:00 2001 From: Dane Sabo Date: Mon, 18 Aug 2025 11:12:30 -0400 Subject: [PATCH] Auto sync: 2025-08-18 11:12:30 (1 files changed) M lua/custom/language_specific_commands/markdown.lua --- lua/custom/language_specific_commands/markdown.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lua/custom/language_specific_commands/markdown.lua b/lua/custom/language_specific_commands/markdown.lua index 2d0a6fd..a8351ee 100644 --- a/lua/custom/language_specific_commands/markdown.lua +++ b/lua/custom/language_specific_commands/markdown.lua @@ -6,8 +6,8 @@ vim.keymap.set( ) -- Create an autocommand for markdown filetype using Neovim's Lua API vim.api.nvim_create_autocmd("FileType", { - pattern = "markdown", - "tex", -- Only for files with filetype 'markdown' + pattern = { "markdown", "tex" }, + -- Only for files with filetype 'markdown' callback = function() -- Enable spell checking locally for the buffer vim.opt_local.spell = true