mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 19:12:38 +00:00 
			
		
		
		
	Merge branch 'main' into fix/codecompanion-cmp-defaults
This commit is contained in:
		
				commit
				
					
						eedb3dd8c4
					
				
			
		
					 3 changed files with 17 additions and 4 deletions
				
			
		|  | @ -106,6 +106,7 @@ | ||||||
| - Add [blink.cmp] support. | - Add [blink.cmp] support. | ||||||
| - Add `LazyFile` user event. | - Add `LazyFile` user event. | ||||||
| - Migrate language modules from none-ls to conform/nvim-lint | - Migrate language modules from none-ls to conform/nvim-lint | ||||||
|  | - Add tsx support in conform and lint | ||||||
| 
 | 
 | ||||||
| [diniamo](https://github.com/diniamo): | [diniamo](https://github.com/diniamo): | ||||||
| 
 | 
 | ||||||
|  | @ -301,6 +302,7 @@ | ||||||
| - Add neo-tree integration for Bufferline. | - Add neo-tree integration for Bufferline. | ||||||
| - Add more applicable filetypes to illuminate denylist. | - Add more applicable filetypes to illuminate denylist. | ||||||
| - Disable mini.indentscope for applicable filetypes. | - Disable mini.indentscope for applicable filetypes. | ||||||
|  | - Fix fzf-lua having a hard dependency on fzf. | ||||||
| - Enable inlay hints support - `config.vim.lsp.inlayHints`. | - Enable inlay hints support - `config.vim.lsp.inlayHints`. | ||||||
| 
 | 
 | ||||||
| [tebuevd](https://github.com/tebuevd): | [tebuevd](https://github.com/tebuevd): | ||||||
|  |  | ||||||
|  | @ -204,17 +204,22 @@ in { | ||||||
|     (mkIf cfg.format.enable { |     (mkIf cfg.format.enable { | ||||||
|       vim.formatter.conform-nvim = { |       vim.formatter.conform-nvim = { | ||||||
|         enable = true; |         enable = true; | ||||||
|         setupOpts.formatters_by_ft.typescript = [cfg.format.type]; |         setupOpts = { | ||||||
|         setupOpts.formatters.${cfg.format.type} = { |           formatters_by_ft.typescript = [cfg.format.type]; | ||||||
|  |           # .tsx files | ||||||
|  |           formatters_by_ft.typescriptreact = [cfg.format.type]; | ||||||
|  |           formatters.${cfg.format.type} = { | ||||||
|             command = getExe cfg.format.package; |             command = getExe cfg.format.package; | ||||||
|           }; |           }; | ||||||
|         }; |         }; | ||||||
|  |       }; | ||||||
|     }) |     }) | ||||||
| 
 | 
 | ||||||
|     (mkIf cfg.extraDiagnostics.enable { |     (mkIf cfg.extraDiagnostics.enable { | ||||||
|       vim.diagnostics.nvim-lint = { |       vim.diagnostics.nvim-lint = { | ||||||
|         enable = true; |         enable = true; | ||||||
|         linters_by_ft.typescript = cfg.extraDiagnostics.types; |         linters_by_ft.typescript = cfg.extraDiagnostics.types; | ||||||
|  |         linters_by_ft.typescriptreact = cfg.extraDiagnostics.types; | ||||||
| 
 | 
 | ||||||
|         linters = mkMerge (map (name: { |         linters = mkMerge (map (name: { | ||||||
|             ${name}.cmd = getExe diagnosticsProviders.${name}.package; |             ${name}.cmd = getExe diagnosticsProviders.${name}.package; | ||||||
|  |  | ||||||
|  | @ -1,15 +1,21 @@ | ||||||
| { | { | ||||||
|   config, |   config, | ||||||
|   lib, |   lib, | ||||||
|  |   pkgs, | ||||||
|   ... |   ... | ||||||
| }: let | }: let | ||||||
|   inherit (lib.types) nullOr enum; |   inherit (lib.types) enum package; | ||||||
|   inherit (lib.options) mkEnableOption mkOption; |   inherit (lib.options) mkEnableOption mkOption; | ||||||
|   inherit (lib.nvim.types) mkPluginSetupOption borderType; |   inherit (lib.nvim.types) mkPluginSetupOption borderType; | ||||||
| in { | in { | ||||||
|   options.vim.fzf-lua = { |   options.vim.fzf-lua = { | ||||||
|     enable = mkEnableOption "fzf-lua"; |     enable = mkEnableOption "fzf-lua"; | ||||||
|     setupOpts = mkPluginSetupOption "fzf-lua" { |     setupOpts = mkPluginSetupOption "fzf-lua" { | ||||||
|  |       fzf_bin = mkOption { | ||||||
|  |         type = package; | ||||||
|  |         default = "${lib.getExe pkgs.fzf}"; | ||||||
|  |         description = "fzf package to use"; | ||||||
|  |       }; | ||||||
|       winopts.border = mkOption { |       winopts.border = mkOption { | ||||||
|         type = borderType; |         type = borderType; | ||||||
|         default = config.vim.ui.borders.globalStyle; |         default = config.vim.ui.borders.globalStyle; | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 army castillo
				army castillo