mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-12-18 10:52:18 +00:00
neovim: wrap text in markdown files
This commit is contained in:
parent
ca02d31563
commit
b1673baf30
1 changed files with 11 additions and 1 deletions
|
@ -21,5 +21,15 @@
|
|||
];
|
||||
command = "setlocal spell spelllang=en";
|
||||
}
|
||||
|
||||
# Enable wrap for some filetypes
|
||||
{
|
||||
event = "FileType";
|
||||
pattern = [
|
||||
"markdown"
|
||||
];
|
||||
command = "setlocal wrap linebreak";
|
||||
}
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue