kakoune: use rfc-style nixfmt
This commit is contained in:
		
							parent
							
								
									52cb6d3301
								
							
						
					
					
						commit
						dba047b845
					
				
					 3 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
					@ -128,7 +128,7 @@
 | 
				
			||||||
    rust-analyzer # rust analyzer
 | 
					    rust-analyzer # rust analyzer
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    blade-formatter
 | 
					    blade-formatter
 | 
				
			||||||
    nixpkgs-fmt
 | 
					    nixfmt-rfc-style
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  fonts.fontconfig.enable = true;
 | 
					  fonts.fontconfig.enable = true;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -12,7 +12,7 @@ hook global WinSetOption filetype=c %{
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
hook global WinSetOption filetype=nix %{
 | 
					hook global WinSetOption filetype=nix %{
 | 
				
			||||||
    set buffer formatcmd 'nixpkgs-fmt'
 | 
					    set buffer formatcmd 'nixfmt'
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
hook global BufCreate .*\.html %{
 | 
					hook global BufCreate .*\.html %{
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -74,7 +74,7 @@ filetypes = ["nix"]
 | 
				
			||||||
command = "nil"
 | 
					command = "nil"
 | 
				
			||||||
roots = ["flake.nix", "shell.nix", ".git"]
 | 
					roots = ["flake.nix", "shell.nix", ".git"]
 | 
				
			||||||
[language_server.nil.settings.nil]
 | 
					[language_server.nil.settings.nil]
 | 
				
			||||||
formatting.command = [ "nixpkgs-fmt" ]
 | 
					formatting.command = [ "nixfmt" ]
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[language_server.intelephense]
 | 
					[language_server.intelephense]
 | 
				
			||||||
filetypes = ["php"]
 | 
					filetypes = ["php"]
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue