mirror of
https://github.com/kogakure/dotfiles.git
synced 2026-02-03 20:25:30 +00:00
fix(nvim): activate soft wrap mode with autocommand
This commit is contained in:
@@ -21,6 +21,7 @@ vim.api.nvim_create_autocmd({ "BufNewFile", "BufFilePre", "BufRead" }, {
|
||||
pattern = { "*.mdx", "*.md" },
|
||||
callback = function()
|
||||
vim.cmd([[set filetype=markdown wrap linebreak nolist]])
|
||||
vim.cmd([[SoftWrapMode]])
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user