My own first version of kickstart.nvim

This commit is contained in:
AngryLuck 2024-03-19 18:01:42 +01:00
parent 3668af39f4
commit dc41cd1fc2
16 changed files with 305 additions and 93 deletions

12
after/ftplugin/tex.lua Normal file
View 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)
]])