mirror of
				https://github.com/NotAShelf/nvf.git
				synced 2025-10-31 11:02:37 +00:00 
			
		
		
		
	Merge pull request #1156 from horriblename/LspAttach-keybinds
attach LSP keybinds + other setup work in LspAttach
This commit is contained in:
		
				commit
				
					
						5ff51032a4
					
				
			
		
					 13 changed files with 49 additions and 48 deletions
				
			
		|  | @ -9,7 +9,7 @@ | |||
|   inherit (lib.types) nullOr submodule listOf str bool; | ||||
|   inherit (lib.nvim.types) luaInline; | ||||
|   inherit (lib.nvim.lua) toLuaObject; | ||||
|   inherit (lib.nvim.dag) entryAfter; | ||||
|   inherit (lib.nvim.dag) entryAfter entryBetween; | ||||
| 
 | ||||
|   autocommandType = submodule { | ||||
|     options = { | ||||
|  | @ -144,7 +144,7 @@ in { | |||
|       enabledAutogroups = filter (au: au.enable) cfg.augroups; | ||||
|     in { | ||||
|       luaConfigRC = { | ||||
|         augroups = entryAfter ["pluginConfigs"] (optionalString (enabledAutogroups != []) '' | ||||
|         augroups = entryBetween ["autocmds"] ["pluginConfigs"] (optionalString (enabledAutogroups != []) '' | ||||
|           local nvf_autogroups = {} | ||||
|           for _, group in ipairs(${toLuaObject enabledAutogroups}) do | ||||
|             if group.name then | ||||
|  |  | |||
|  | @ -77,7 +77,6 @@ in { | |||
|     { | ||||
|       vim.lsp.servers."*" = { | ||||
|         capabilities = mkDefault (mkLuaInline "capabilities"); | ||||
|         on_attach = mkDefault (mkLuaInline "default_on_attach"); | ||||
|       }; | ||||
|     } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 GitHub
					GitHub