mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-11-03 20:22:21 +00:00 
			
		
		
		
	Compare commits
	
		
			9 commits
		
	
	
		
			
				a9503c8ef8
			
			...
			
				47735a6be6
			
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							
							
								
							
							
	
	
	47735a6be6 | 
						
						
							|||
| 
							 | 
						
							
							
								
							
							
	
	
	8413b25e5e | 
						
						
							||
| 
							 | 
						
							
							
								
							
							
	
	
	2be50b2690 | 
						
						
							||
| 
							 | 
						
							
							
								
							
							
	
	
	d4b04d7aa0 | 
						
						
							||
| 
							
							
								
							
							
	
	
	3b2a37ef3d | 
						
						
							|||
| 
							 | 
						
							
							
								
							
							
	
	
	7199ee8ebf | 
						
						
							||
| 
							 | 
						
							
							
								
							
							
	
	
	733b42cc5f | 
						
						
							||
| 
							 | 
						
							
							
								
							
							
	
	
	6ec28999cb | 
						
						
							||
| 
							 | 
						
							
							
								
							
							
	
	
	06b5903b53 | 
						
						
							
					 3 changed files with 16 additions and 8 deletions
				
			
		| 
						 | 
				
			
			@ -439,3 +439,4 @@
 | 
			
		|||
- Add [smart-splits.nvim] for navigating between Neovim windows and terminal multiplexer panes.
 | 
			
		||||
  Available at `vim.utility.smart-splits`.
 | 
			
		||||
 | 
			
		||||
- Fix lualine separator options
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -57,14 +57,21 @@
 | 
			
		|||
      signs = mkOption {
 | 
			
		||||
        type = diagnosticType;
 | 
			
		||||
        default = false;
 | 
			
		||||
        example = {
 | 
			
		||||
          signs.text = {
 | 
			
		||||
            "vim.diagnostic.severity.ERROR" = " ";
 | 
			
		||||
            "vim.diagnostic.severity.WARN" = " ";
 | 
			
		||||
          };
 | 
			
		||||
        };
 | 
			
		||||
        example = literalExpression ''
 | 
			
		||||
          signs.text = lib.generators.mkLuaInline '''
 | 
			
		||||
            {
 | 
			
		||||
              [vim.diagnostic.severity.ERROR] = " ",
 | 
			
		||||
              [vim.diagnostic.severity.WARN] = " ",
 | 
			
		||||
            }
 | 
			
		||||
          ''';
 | 
			
		||||
        '';
 | 
			
		||||
        description = ''
 | 
			
		||||
          Use signs for diagnostics. See {command}`:help diagnostic-signs`.
 | 
			
		||||
 | 
			
		||||
          :::{.note}
 | 
			
		||||
          The code presented in that example section uses Lua expressions as object keys which
 | 
			
		||||
          only translate well if you use `lib.generators.mkLuaInline` as in the example.
 | 
			
		||||
          :::
 | 
			
		||||
        '';
 | 
			
		||||
      };
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -63,8 +63,8 @@ in {
 | 
			
		|||
          options = {
 | 
			
		||||
            icons_enabled = mkDefault cfg.icons.enable;
 | 
			
		||||
            theme = mkDefault cfg.theme;
 | 
			
		||||
            component_separators = mkDefault [cfg.componentSeparator.left cfg.componentSeparator.right];
 | 
			
		||||
            section_separators = mkDefault [cfg.sectionSeparator.left cfg.sectionSeparator.right];
 | 
			
		||||
            component_separators = mkDefault cfg.componentSeparator;
 | 
			
		||||
            section_separators = mkDefault cfg.sectionSeparator;
 | 
			
		||||
            globalstatus = mkDefault cfg.globalStatus;
 | 
			
		||||
            refresh = mkDefault cfg.refresh;
 | 
			
		||||
            always_divide_middle = mkDefault cfg.alwaysDivideMiddle;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue