mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 02:52:37 +00:00 
			
		
		
		
	 21f4644e31
			
		
	
	
	
	
	21f4644e31* languages/qml: init Create the qml language module with treesitting, lsp, and formatting * Fix release notes module name
		
			
				
	
	
		
			64 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
			
		
		
	
	
			64 lines
		
	
	
	
		
			1.2 KiB
		
	
	
	
		
			Nix
		
	
	
	
	
	
| {lib, ...}: let
 | |
|   inherit (lib.modules) mkRenamedOptionModule;
 | |
|   inherit (lib.nvim.languages) mkEnable;
 | |
| in {
 | |
|   imports = [
 | |
|     ./asm.nix
 | |
|     ./astro.nix
 | |
|     ./bash.nix
 | |
|     ./cue.nix
 | |
|     ./dart.nix
 | |
|     ./clang.nix
 | |
|     ./clojure.nix
 | |
|     ./css.nix
 | |
|     ./elixir.nix
 | |
|     ./fsharp.nix
 | |
|     ./gleam.nix
 | |
|     ./go.nix
 | |
|     ./hcl.nix
 | |
|     ./helm.nix
 | |
|     ./kotlin.nix
 | |
|     ./html.nix
 | |
|     ./haskell.nix
 | |
|     ./java.nix
 | |
|     ./json.nix
 | |
|     ./lua.nix
 | |
|     ./markdown.nix
 | |
|     ./nim.nix
 | |
|     ./vala.nix
 | |
|     ./nix.nix
 | |
|     ./ocaml.nix
 | |
|     ./php.nix
 | |
|     ./python.nix
 | |
|     ./qml.nix
 | |
|     ./r.nix
 | |
|     ./rust.nix
 | |
|     ./scala.nix
 | |
|     ./sql.nix
 | |
|     ./svelte.nix
 | |
|     ./tailwind.nix
 | |
|     ./terraform.nix
 | |
|     ./ts.nix
 | |
|     ./typst.nix
 | |
|     ./zig.nix
 | |
|     ./csharp.nix
 | |
|     ./julia.nix
 | |
|     ./nu.nix
 | |
|     ./odin.nix
 | |
|     ./wgsl.nix
 | |
|     ./yaml.nix
 | |
|     ./ruby.nix
 | |
|     ./just.nix
 | |
| 
 | |
|     # This is now a hard deprecation.
 | |
|     (mkRenamedOptionModule ["vim" "languages" "enableLSP"] ["vim" "lsp" "enable"])
 | |
|   ];
 | |
| 
 | |
|   options.vim.languages = {
 | |
|     # Those are still managed by plugins, and should be enabled here.
 | |
|     enableDAP = mkEnable "Debug Adapter";
 | |
|     enableTreesitter = mkEnable "Treesitter";
 | |
|     enableFormat = mkEnable "Formatting";
 | |
|     enableExtraDiagnostics = mkEnable "extra diagnostics";
 | |
|   };
 | |
| }
 |