Moved configs to seperate files
This commit is contained in:
parent
fdb565ce87
commit
3b96ad1b57
26 changed files with 578 additions and 229 deletions
11
after/ftplugin/markdown.lua
Normal file
11
after/ftplugin/markdown.lua
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
vim.opt.breakindentopt = "shift:2"
|
||||
vim.opt.shiftwidth = 4
|
||||
vim.opt.textwidth = 0
|
||||
|
||||
vim.cmd [[
|
||||
function! MyFormatExpr(start, end)
|
||||
silent execute a:start.','.a:end.'s/[.!?]\zs /\r/g'
|
||||
endfunction
|
||||
|
||||
set formatexpr=MyFormatExpr(v:lnum,v:lnum+v:count-1)
|
||||
]]
|
||||
Loading…
Add table
Add a link
Reference in a new issue