mirror of
https://github.com/jbowdre/dotfiles.git
synced 2025-01-21 15:34:39 +00:00
neovim: markdown overrides
This commit is contained in:
parent
e6095e5999
commit
4139f89c60
1 changed files with 2 additions and 8 deletions
|
@ -13,19 +13,13 @@
|
|||
command = "wincmd L";
|
||||
}
|
||||
|
||||
# Enable spellcheck for some filetypes
|
||||
# Markdown overrides
|
||||
{
|
||||
event = "FileType";
|
||||
pattern = [ "markdown" ];
|
||||
command = "setlocal spell spelllang=en";
|
||||
command = "setlocal spell spelllang=en wrap linebreak ts=2 sw=2 sts=2";
|
||||
}
|
||||
|
||||
# Enable wrap for some filetypes
|
||||
{
|
||||
event = "FileType";
|
||||
pattern = [ "markdown" ];
|
||||
command = "setlocal wrap linebreak";
|
||||
}
|
||||
];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue