mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	languages/julia: fix outdated docs
This commit is contained in:
		
					parent
					
						
							
								153290a767
							
						
					
				
			
			
				commit
				
					
						6394f82a22
					
				
			
		
					 1 changed files with 8 additions and 6 deletions
				
			
		|  | @ -14,9 +14,9 @@ | ||||||
|   inherit (lib.nvim.attrsets) mapListToAttrs; |   inherit (lib.nvim.attrsets) mapListToAttrs; | ||||||
|   inherit (lib.nvim.dag) entryBefore; |   inherit (lib.nvim.dag) entryBefore; | ||||||
| 
 | 
 | ||||||
|   defaultServers = ["jdtls"]; |   defaultServers = ["julials"]; | ||||||
|   servers = { |   servers = { | ||||||
|     jdtls = { |     julials = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       cmd = |       cmd = | ||||||
|         mkLuaInline |         mkLuaInline | ||||||
|  | @ -95,7 +95,7 @@ in { | ||||||
|       }; |       }; | ||||||
| 
 | 
 | ||||||
|       lsp = { |       lsp = { | ||||||
|         enable = mkEnableOption "Java LSP support" // {default = config.vim.lsp.enable;}; |         enable = mkEnableOption "Julia LSP support" // {default = config.vim.lsp.enable;}; | ||||||
|         servers = mkOption { |         servers = mkOption { | ||||||
|           type = singleOrListOf (enum (attrNames servers)); |           type = singleOrListOf (enum (attrNames servers)); | ||||||
|           default = defaultServers; |           default = defaultServers; | ||||||
|  | @ -107,9 +107,11 @@ in { | ||||||
|             option, since there is no way to provide only the LSP server. |             option, since there is no way to provide only the LSP server. | ||||||
| 
 | 
 | ||||||
|             If you want to avoid that, you have to change |             If you want to avoid that, you have to change | ||||||
|             [](#opt-vim.languages.julia.lsp.package) to use the Julia binary |             [vim.lsp.servers.julials.cmd](#opt-vim.lsp.servers._name_.cmd) to use | ||||||
|             in {env}`PATH` (set it to `null`), and add the `LanguageServer` package to |             the Julia binary in {env}`PATH`, and add the `LanguageServer` | ||||||
|             Julia in your devshells. |             package to Julia in your devshells. | ||||||
|  | 
 | ||||||
|  |             Check the source file of this option for the full `cmd`. | ||||||
|             ::: |             ::: | ||||||
|           ''; |           ''; | ||||||
|         }; |         }; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Ching Pei Yang
				Ching Pei Yang