use mason package instead of own compiled
This commit is contained in:
		
							parent
							
								
									4fe65e5f5d
								
							
						
					
					
						commit
						2685da169e
					
				@ -37,11 +37,11 @@ JAVA_DAP_ACTIVE = true
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
local bundles = {
 | 
					local bundles = {
 | 
				
			||||||
	vim.fn.glob(
 | 
						vim.fn.glob(
 | 
				
			||||||
		home .. '/.config/nvim/.java-debug/com.microsoft.java.debug.plugin/target/com.microsoft.java.debug.plugin-*.jar'
 | 
							home .. '/.local/share/nvim/mason/packages/java-debug-adapter/extension/server/com.microsoft.java.debug.plugin-*.jar'
 | 
				
			||||||
	),
 | 
						),
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
vim.list_extend(bundles, vim.split(vim.fn.glob(home .. '/.config/nvim/.vscode-java-test/server/*.jar'), '\n'))
 | 
					vim.list_extend(bundles, vim.split(vim.fn.glob(home .. '/.local/share/nvim/mason/packages/java-test/extension/server/*.jar'), '\n'))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
local function lsp_keymaps(bufnr)
 | 
					local function lsp_keymaps(bufnr)
 | 
				
			||||||
	local opt = { noremap = true, silent = true }
 | 
						local opt = { noremap = true, silent = true }
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user