mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	entryAnywhere for lspconfig
This commit is contained in:
		
					parent
					
						
							
								59f89ff96f
							
						
					
				
			
			
				commit
				
					
						b00b999f1d
					
				
			
		
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -11,7 +11,7 @@ | ||||||
|   inherit (lib.attrsets) mapAttrsToList attrNames filterAttrs; |   inherit (lib.attrsets) mapAttrsToList attrNames filterAttrs; | ||||||
|   inherit (lib.generators) mkLuaInline; |   inherit (lib.generators) mkLuaInline; | ||||||
|   inherit (lib.nvim.languages) lspOptions; |   inherit (lib.nvim.languages) lspOptions; | ||||||
|   inherit (lib.nvim.dag) entryAfter; |   inherit (lib.nvim.dag) entryAnywhere; | ||||||
|   inherit (lib.nvim.lua) toLuaObject; |   inherit (lib.nvim.lua) toLuaObject; | ||||||
| 
 | 
 | ||||||
|   cfg = config.vim.lsp; |   cfg = config.vim.lsp; | ||||||
|  | @ -83,7 +83,7 @@ in { | ||||||
|     (mkIf (cfg.servers != {}) { |     (mkIf (cfg.servers != {}) { | ||||||
|       # Enable lspconfig in order to merge in the predefined opts |       # Enable lspconfig in order to merge in the predefined opts | ||||||
|       vim.lsp.lspconfig.enable = true; |       vim.lsp.lspconfig.enable = true; | ||||||
|       vim.luaConfigRC.lsp-servers = entryAfter ["lspconfig"] '' |       vim.luaConfigRC.lsp-servers = entryAnywhere '' | ||||||
|         -- Individual LSP configurations managed by nvf. |         -- Individual LSP configurations managed by nvf. | ||||||
|         ${concatLines lspConfigurations} |         ${concatLines lspConfigurations} | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 sjcobb
				sjcobb