mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-11-03 20:22:21 +00:00 
			
		
		
		
	basic: deprecate scrollOffset
This commit is contained in:
		
					parent
					
						
							
								a595233c46
							
						
					
				
			
			
				commit
				
					
						a0905ee428
					
				
			
		
					 2 changed files with 2 additions and 9 deletions
				
			
		| 
						 | 
					@ -18,7 +18,7 @@
 | 
				
			||||||
    showSignColumn = "signcolumn";
 | 
					    showSignColumn = "signcolumn";
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    # 2025-02-07
 | 
					    # 2025-02-07
 | 
				
			||||||
    scrollOff = "scrolloff";
 | 
					    scrollOffset = "scrolloff";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
in {
 | 
					in {
 | 
				
			||||||
  imports = concatLists [
 | 
					  imports = concatLists [
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -6,11 +6,10 @@
 | 
				
			||||||
  inherit (lib.options) mkOption mkEnableOption literalMD;
 | 
					  inherit (lib.options) mkOption mkEnableOption literalMD;
 | 
				
			||||||
  inherit (lib.strings) optionalString;
 | 
					  inherit (lib.strings) optionalString;
 | 
				
			||||||
  inherit (lib.attrsets) optionalAttrs;
 | 
					  inherit (lib.attrsets) optionalAttrs;
 | 
				
			||||||
  inherit (lib.types) enum bool str int either;
 | 
					  inherit (lib.types) enum bool str either;
 | 
				
			||||||
  inherit (lib.generators) mkLuaInline;
 | 
					  inherit (lib.generators) mkLuaInline;
 | 
				
			||||||
  inherit (lib.nvim.dag) entryAfter;
 | 
					  inherit (lib.nvim.dag) entryAfter;
 | 
				
			||||||
  inherit (lib.nvim.binds) pushDownDefault;
 | 
					  inherit (lib.nvim.binds) pushDownDefault;
 | 
				
			||||||
  inherit (lib.nvim.lua) toLuaObject;
 | 
					 | 
				
			||||||
  inherit (lib.nvim.types) luaInline;
 | 
					  inherit (lib.nvim.types) luaInline;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  cfg = config.vim;
 | 
					  cfg = config.vim;
 | 
				
			||||||
| 
						 | 
					@ -22,12 +21,6 @@ in {
 | 
				
			||||||
      description = "Hide search highlight so it doesn't stay highlighted";
 | 
					      description = "Hide search highlight so it doesn't stay highlighted";
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    scrollOffset = mkOption {
 | 
					 | 
				
			||||||
      type = int;
 | 
					 | 
				
			||||||
      default = 8;
 | 
					 | 
				
			||||||
      description = "Start scrolling this number of lines from the top or bottom of the page.";
 | 
					 | 
				
			||||||
    };
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
    syntaxHighlighting = mkOption {
 | 
					    syntaxHighlighting = mkOption {
 | 
				
			||||||
      type = bool;
 | 
					      type = bool;
 | 
				
			||||||
      default = !config.vim.treesitter.highlight.enable;
 | 
					      default = !config.vim.treesitter.highlight.enable;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue