Update init.lua
This commit is contained in:
parent
d9263b3718
commit
3e6e33c16d
|
@ -17,5 +17,11 @@ autocmd("BufUnload", {
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
-- Don't auto commenting new lines
|
||||||
|
autocmd('BufEnter', {
|
||||||
|
pattern = '*',
|
||||||
|
command = 'set fo-=c fo-=r fo-=o'
|
||||||
|
})
|
||||||
|
|
||||||
-- load statusline
|
-- load statusline
|
||||||
vim.opt.statusline = "%!v:lua.require'ui.statusline'.run()"
|
vim.opt.statusline = "%!v:lua.require'ui.statusline'.run()"
|
||||||
|
|
Loading…
Reference in New Issue