parent
							
								
									58ad8eefa1
								
							
						
					
					
						commit
						6dcb9cdffa
					
				
					 1 changed files with 0 additions and 21 deletions
				
			
		|  | @ -1,21 +0,0 @@ | ||||||
| { |  | ||||||
|   flake.modules.nixvim.custom.plugins.auto-save = { |  | ||||||
|     enable = true; |  | ||||||
| 
 |  | ||||||
|     settings.condition = '' |  | ||||||
|       function(buf) |  | ||||||
|         local excluded_filetypes = {} |  | ||||||
| 
 |  | ||||||
|         local excluded_filenames = {} |  | ||||||
| 
 |  | ||||||
|         if vim.tbl_contains(excluded_filetypes, vim.fn.getbufvar(buf, "&filetype")) |  | ||||||
|           or vim.tbl_contains(excluded_filenames, vim.fn.expand("%:t")) |  | ||||||
|         then |  | ||||||
|           return false |  | ||||||
|         end |  | ||||||
| 
 |  | ||||||
|         return true |  | ||||||
|       end |  | ||||||
|     ''; |  | ||||||
|   }; |  | ||||||
| } |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue