From a3547a458a70e3a062c0da688e3f2d4d06248d19 Mon Sep 17 00:00:00 2001 From: Rokas Puzonas Date: Thu, 11 May 2023 17:30:35 +0300 Subject: [PATCH] update how indenting c macros work --- lua/options.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/lua/options.lua b/lua/options.lua index 4329e57..7ab2103 100644 --- a/lua/options.lua +++ b/lua/options.lua @@ -102,13 +102,18 @@ opt('smartindent', true, buffer) opt('shiftwidth', tab_size, buffer) opt('tabstop', tab_size, buffer) opt('softtabstop', tab_size, buffer) +opt('cinkeys', '0{,0},0),0],:,!^F,o,O,e') +opt('cinoptions', 's,e0,n0,f0,{0,}0,^0,L-1,:s,=s,l0,b0,gs,hs,N0,E0,ps,ts,is,+s,c3,C0,/0,(2s,us,U0,w0,W0,k0,m0,j0,J0,)20,*70,#1,P0') -- Place splits below and to the right by default opt('splitbelow', true) opt('splitright', true) +-- Remove cmdline when not used +opt('cmdheight', 0) + -- Scale neovide a bit if vim.g.neovide then - vim.g.neovide_scale_factor = 0.7 + vim.g.neovide_scale_factor = 0.75 vim.g.neovide_hide_mouse_when_typing = true end