.dotfiles/.config/nvim/after/ftplugin/markdown.lua

8 lines
246 B
Lua
Raw Normal View History

2024-05-24 16:07:28 +03:00
-- get only the currently used buffer in the current window and set the options for it
local winid = vim.api.nvim_get_current_win()
local wo = vim.wo[winid][0]
wo.spell = true
vim.cmd.highlight({ "SpellBad", "gui=undercurl", "guifg=#DA6464" })