mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	specify lsp configuration in lang module
This commit is contained in:
		
					parent
					
						
							
								e08fd4dc9f
							
						
					
				
			
			
				commit
				
					
						385793a2ea
					
				
			
		
					 2 changed files with 7 additions and 1 deletions
				
			
		|  | @ -20,7 +20,9 @@ | ||||||
|   servers = { |   servers = { | ||||||
|     marksman = { |     marksman = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       cmd = ["${pkgs.marksman}/bin/marksman" "server"]; |       cmd = [(getExe pkgs.marksman) "server"]; | ||||||
|  |       filetypes = ["markdown" "markdown.mdx"]; | ||||||
|  |       root_markers = [".marksman.toml" ".git"]; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -41,6 +41,8 @@ | ||||||
|       settings = { |       settings = { | ||||||
|         nil = formattingCmd; |         nil = formattingCmd; | ||||||
|       }; |       }; | ||||||
|  |       filetypes = ["nix"]; | ||||||
|  |       root_markers = [".git" "flake.nix"]; | ||||||
|     }; |     }; | ||||||
| 
 | 
 | ||||||
|     nixd = { |     nixd = { | ||||||
|  | @ -49,6 +51,8 @@ | ||||||
|       settings = { |       settings = { | ||||||
|         nixd = formattingCmd; |         nixd = formattingCmd; | ||||||
|       }; |       }; | ||||||
|  |       filetypes = ["nix"]; | ||||||
|  |       root_markers = [".git" "flake.nix"]; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 sjcobb
				sjcobb