mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	wrapper/rc: use mkOption in enableLuaLoader description
		
	`mkEnableOption` seems to be clobbering the markdown syntax.
This commit is contained in:
		
					parent
					
						
							
								cece170a41
							
						
					
				
			
			
				commit
				
					
						c3a4686fa1
					
				
			
		
					 1 changed files with 19 additions and 13 deletions
				
			
		|  | @ -12,22 +12,28 @@ | ||||||
|   cfg = config.vim; |   cfg = config.vim; | ||||||
| in { | in { | ||||||
|   options.vim = { |   options.vim = { | ||||||
|     enableLuaLoader = mkEnableOption '' |     enableLuaLoader = mkOption { | ||||||
|       [{option}`official documentation`]: https://neovim.io/doc/user/lua.html#vim.loader.enable() |       type = bool; | ||||||
|  |       default = false; | ||||||
|  |       example = true; | ||||||
|  |       description = '' | ||||||
|  |         [{option}`official documentation`]: https://neovim.io/doc/user/lua.html#vim.loader.enable() | ||||||
| 
 | 
 | ||||||
|       the experimental Lua module loader to speed up the start up process |         the experimental Lua module loader to speed up the start up process | ||||||
| 
 | 
 | ||||||
|       If `true`, this will enable the experimental Lua module loader which: |         If `true`, this will enable the experimental Lua module loader which: | ||||||
|         - overrides loadfile |           - overrides loadfile | ||||||
|         - adds the lua loader using the byte-compilation cache |           - adds the lua loader using the byte-compilation cache | ||||||
|         - adds the libs loader |           - adds the libs loader | ||||||
|         - removes the default Neovim loader |           - removes the default Neovim loader | ||||||
| 
 | 
 | ||||||
|       ::: {.note} |         ::: {.note} | ||||||
|       This is disabled by default. Before setting this option, please |         The Lua module loader is *disabled* by default. Before setting this option, please | ||||||
|       take a look at the [{option}`official documentation`]. |         take a look at the [{option}`official documentation`]. This option may be enabled by | ||||||
|       ::: |         default in the future. | ||||||
|     ''; |         ::: | ||||||
|  |       ''; | ||||||
|  |     }; | ||||||
| 
 | 
 | ||||||
|     additionalRuntimePaths = mkOption { |     additionalRuntimePaths = mkOption { | ||||||
|       type = listOf (either path str); |       type = listOf (either path str); | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue