51 lines
		
	
	
	
		
			935 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
		
		
			
		
	
	
			51 lines
		
	
	
	
		
			935 B
		
	
	
	
		
			Nix
		
	
	
	
	
	
|  | { | ||
|  |   flake.modules.nixvim.custom = | ||
|  |     { pkgs, ... }: | ||
|  |     { | ||
|  |       plugins = { | ||
|  |         treesitter = { | ||
|  |           enable = true; | ||
|  | 
 | ||
|  |           grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [ | ||
|  |             bash | ||
|  |             comment | ||
|  |             css | ||
|  |             csv | ||
|  |             dockerfile | ||
|  |             gitattributes | ||
|  |             gitignore | ||
|  |             go | ||
|  |             html | ||
|  |             javascript | ||
|  |             json | ||
|  |             kdl | ||
|  |             lua | ||
|  |             luadoc | ||
|  |             make | ||
|  |             markdown | ||
|  |             markdown_inline | ||
|  |             nix | ||
|  |             php | ||
|  |             phpdoc | ||
|  |             query | ||
|  |             rst | ||
|  |             scss | ||
|  |             sql | ||
|  |             terraform | ||
|  |             twig | ||
|  |             typescript | ||
|  |             vim | ||
|  |             vimdoc | ||
|  |             vue | ||
|  |             xml | ||
|  |             yaml | ||
|  |           ]; | ||
|  | 
 | ||
|  |           settings.highlight.enable = true; | ||
|  |         }; | ||
|  | 
 | ||
|  |         treesitter-textobjects.enable = true; | ||
|  |       }; | ||
|  |     }; | ||
|  | } |