refactor: complete rewrite
This commit is contained in:
		
							parent
							
								
									19a4bbda3c
								
							
						
					
					
						commit
						8e81943cf9
					
				
					 399 changed files with 3396 additions and 8042 deletions
				
			
		
							
								
								
									
										5
									
								
								outputs/pkgs/ook-vim/plugins/languages/bash.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								outputs/pkgs/ook-vim/plugins/languages/bash.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| { | ||||
|   vim.languages.bash = { | ||||
|     enable = true; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										6
									
								
								outputs/pkgs/ook-vim/plugins/languages/css.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								outputs/pkgs/ook-vim/plugins/languages/css.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | |||
| { | ||||
|   vim.languages.css = { | ||||
|     enable = true; | ||||
|     format.enable = true; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										19
									
								
								outputs/pkgs/ook-vim/plugins/languages/default.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								outputs/pkgs/ook-vim/plugins/languages/default.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,19 @@ | |||
| { | ||||
|   imports = [ | ||||
|     ./nix.nix | ||||
|     ./lsp.nix | ||||
|     ./bash.nix | ||||
|     ./treesitter.nix | ||||
|     ./html.nix | ||||
|     ./ts.nix | ||||
|   ]; | ||||
| 
 | ||||
|   vim.languages = { | ||||
|     enableLSP = true; | ||||
|     enableTreesitter = true; | ||||
|     enableFormat = true; | ||||
|     enableExtraDiagnostics = true; | ||||
| 
 | ||||
|     typst.enable = true; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										5
									
								
								outputs/pkgs/ook-vim/plugins/languages/html.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								outputs/pkgs/ook-vim/plugins/languages/html.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| { | ||||
|   vim.languages.html = { | ||||
|     enable = true; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										8
									
								
								outputs/pkgs/ook-vim/plugins/languages/lsp.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								outputs/pkgs/ook-vim/plugins/languages/lsp.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,8 @@ | |||
| { | ||||
|   vim.lsp = { | ||||
|     formatOnSave = true; | ||||
|     lspkind.enable = true; | ||||
|     lspSignature.enable = true; | ||||
|     trouble = {enable = true;}; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										11
									
								
								outputs/pkgs/ook-vim/plugins/languages/markdown.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								outputs/pkgs/ook-vim/plugins/languages/markdown.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| { | ||||
|   vim = { | ||||
|     languages.markdown = { | ||||
|       enable = true; | ||||
|       format = true; | ||||
|     }; | ||||
|     utility = { | ||||
|       preview.markdownPreview = {enable = true;}; | ||||
|     }; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										5
									
								
								outputs/pkgs/ook-vim/plugins/languages/nix.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								outputs/pkgs/ook-vim/plugins/languages/nix.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| { | ||||
|   vim.languages.nix = { | ||||
|     enable = true; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										11
									
								
								outputs/pkgs/ook-vim/plugins/languages/treesitter.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								outputs/pkgs/ook-vim/plugins/languages/treesitter.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,11 @@ | |||
| {pkgs, ...}: { | ||||
|   vim.treesitter = { | ||||
|     enable = true; | ||||
|     fold = true; | ||||
|     grammars = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [ | ||||
|       kdl | ||||
|       regex | ||||
|       fish | ||||
|     ]; | ||||
|   }; | ||||
| } | ||||
							
								
								
									
										5
									
								
								outputs/pkgs/ook-vim/plugins/languages/ts.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								outputs/pkgs/ook-vim/plugins/languages/ts.nix
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,5 @@ | |||
| { | ||||
|   vim.languages.ts = { | ||||
|     enable = true; | ||||
|   }; | ||||
| } | ||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue