Auto sync: 2025-08-18 11:12:30 (1 files changed)
M lua/custom/language_specific_commands/markdown.lua
This commit is contained in:
parent
1f0aa5733b
commit
c2872eae66
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user