My own first version of kickstart.nvim
This commit is contained in:
parent
3668af39f4
commit
dc41cd1fc2
16 changed files with 305 additions and 93 deletions
12
after/ftplugin/tex.lua
Normal file
12
after/ftplugin/tex.lua
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
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