Skip to content

Instantly share code, notes, and snippets.

@rorisme
Created June 30, 2022 05:36
Show Gist options
  • Save rorisme/fc5007a5230459f33ae5fc23fd9e7984 to your computer and use it in GitHub Desktop.
Save rorisme/fc5007a5230459f33ae5fc23fd9e7984 to your computer and use it in GitHub Desktop.
vim.wo.foldcolumn = '1'
vim.wo.foldlevel = 99 -- feel free to decrease the value
vim.wo.foldenable = true
vim.o.fillchars = [[eob: ,fold: ,foldopen:,foldsep: ,foldclose:]]
require('packer').startup(function()
use {'kevinhwang91/nvim-ufo', requires = 'kevinhwang91/promise-async'}
-- using coc.nvim as LSP client
use {'neoclide/coc.nvim', branch = 'master', run = 'yarn install --frozen-lockfile'}
end)
require('ufo').setup()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment