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 }, { fg = c.base00, bg = c.base02 },
{ transparent = config.transparent } { transparent = config.transparent }
) -- Separators between window splits ) -- 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('FoldColumn', { fg = c.base0, bg = c.base02, bold = true }) -- 'foldcolumn'
set_hl( set_hl(
'SignColumn', 'SignColumn',

14
vimrc

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

Loading…
Cancel
Save