nix/modules/home/programs/neovim/autocmd.lua

12 lines
225 B
Lua
Raw Normal View History

2024-03-09 17:18:36 +01:00
local api = vim.api
api.nvim_create_autocmd(
"FileType",
{ pattern = "markdown", command = "setlocal spell" }
)
api.nvim_create_autocmd(
"FileType",
{ pattern = "markdown", command = "setlocal complete+=kspell" }
)