neovim: wrap text in markdown files

This commit is contained in:
John Bowdre 2024-12-05 16:05:07 -06:00
parent ca02d31563
commit b1673baf30
Signed by: john
SSH key fingerprint: SHA256:cZYnOxaLdo+MhBNMX38ihO/p2Kek6fBykSFoJwHBhUo

View file

@ -21,5 +21,15 @@
]; ];
command = "setlocal spell spelllang=en"; command = "setlocal spell spelllang=en";
} }
# Enable wrap for some filetypes
{
event = "FileType";
pattern = [
"markdown"
];
command = "setlocal wrap linebreak";
}
]; ];
} }