Browse Source

lazygit

dev
Gregory Leeman 9 months ago
parent
commit
2f935efc33
  1. 2
      after/ftplugin/python.vim
  2. 2
      lua/solarized/themes/default/editor.lua
  3. 14
      vimrc

2
after/ftplugin/python.vim

@ -0,0 +1,2 @@
set foldmethod=expr
set foldexpr=nvim_treesitter#foldexpr()

2
lua/solarized/themes/default/editor.lua

@ -24,7 +24,7 @@ return function(c, config)
{ fg = c.base00, bg = c.base02 },
{ transparent = config.transparent }
) -- Separators between window splits
set_hl('Folded',{ fg = c.base0, bg = c.base02, underline = true, bold = true }) -- Line used for closed folds
set_hl('Folded',{ fg = c.base3, bg = c.base02, bold = true }) -- Line used for closed folds
set_hl('FoldColumn', { fg = c.base0, bg = c.base02, bold = true }) -- 'foldcolumn'
set_hl(
'SignColumn',

14
vimrc

@ -13,11 +13,11 @@ vim.o.background = 'dark'
require('solarized').setup {
-- theme = 'neo';
theme = 'default';
highlights = function (colors, colorhelper)
return {
Folded = { underline = false, fg = colors.base3, bg = colors.base03 }
}
end
-- highlights = function (colors, colorhelper)
-- return {
-- " Folded = { underline = false, fg = colors.base3, bg = colors.base03 }
-- }
-- end
}
vim.cmd("colorscheme solarized")
EOF
@ -50,9 +50,7 @@ set completeopt=noinsert,menuone,noselect " options for Insert mode completion
set cursorline " highlight the screen line of the cursor
set foldenable " set to display all folds open
set foldopen-=block " for which commands a fold will be opened
set foldmethod=expr " folding type
" set foldmethod=marker
set foldexpr=nvim_treesitter#foldexpr()
set foldmethod=marker
set nofoldenable " disable folding at startup.
set foldtext=FoldText() " expression used to display for a closed fold
set formatoptions-=cro " how automatic formatting is to be done

Loading…
Cancel
Save