nvim+fish
This commit is contained in:
		
							parent
							
								
									40d5d02b59
								
							
						
					
					
						commit
						8833985b71
					
				
					 2 changed files with 10 additions and 1 deletions
				
			
		
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| 
						 | 
					@ -151,7 +151,14 @@ local servers = {
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    gleam = {},
 | 
					    gleam = {},
 | 
				
			||||||
    tsserver = {
 | 
					    tsserver = {
 | 
				
			||||||
        root_dir = lspconfig.util.root_pattern("package.json"),
 | 
					        root_dir = function(filename, _)
 | 
				
			||||||
 | 
					            local deno = lspconfig.util.root_pattern("deno.json", "deno.jsonc")(filename)
 | 
				
			||||||
 | 
					            if deno then
 | 
				
			||||||
 | 
					                return nil
 | 
				
			||||||
 | 
					            end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					            return lspconfig.util.root_pattern("package.json")(filename)
 | 
				
			||||||
 | 
					        end,
 | 
				
			||||||
        single_file_support = false,
 | 
					        single_file_support = false,
 | 
				
			||||||
    },
 | 
					    },
 | 
				
			||||||
    denols = {
 | 
					    denols = {
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue