the treesitter code folding was not working for my needs.
Removed it, restored the old indent+custom foldtext method.
This commit is contained in:
		
							parent
							
								
									0116f9e845
								
							
						
					
					
						commit
						43b15731f0
					
				
					 3 changed files with 16 additions and 21 deletions
				
			
		| 
						 | 
				
			
			@ -218,17 +218,6 @@ return require('packer').startup(function(use)
 | 
			
		|||
 | 
			
		||||
	--language specific tools.
 | 
			
		||||
 | 
			
		||||
	use{'eddiebergman/nvim-treesitter-pyfold',
 | 
			
		||||
		config=function ()
 | 
			
		||||
			require('nvim-treesitter.configs').setup {
 | 
			
		||||
				pyfold = {
 | 
			
		||||
					enable = true,
 | 
			
		||||
					custom_foldtext = true -- Sets provided foldtext on window where module is active
 | 
			
		||||
				}
 | 
			
		||||
			}
 | 
			
		||||
		end
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	use 'simrat39/rust-tools.nvim'
 | 
			
		||||
 | 
			
		||||
	if Packer_Bootstrap then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue