20 lines
		
	
	
	
		
			748 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
	
		
			748 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
 | 
						|
-- TODO: split up the plugins a bit.
 | 
						|
-- NOTE: various, non-plugin config
 | 
						|
require('myLuaConf.opts_and_keys')
 | 
						|
 | 
						|
-- NOTE: register an extra lze handler with the spec_field 'for_cat'
 | 
						|
-- that makes enabling an lze spec for a category slightly nicer
 | 
						|
require("lze").register_handlers(require('nixCatsUtils.lzUtils').for_cat)
 | 
						|
 | 
						|
-- NOTE: Register another one from lzextras. This one makes it so that
 | 
						|
-- you can set up lsps within lze specs,
 | 
						|
-- and trigger lspconfig setup hooks only on the correct filetypes
 | 
						|
require('lze').register_handlers(require('lzextras').lsp)
 | 
						|
-- demonstrated in ./LSPs/init.lua
 | 
						|
 | 
						|
-- NOTE: general plugins
 | 
						|
require("myLuaConf.plugins")
 | 
						|
 | 
						|
-- NOTE: obviously, more plugins, but more organized by what they do below
 | 
						|
require("myLuaConf.LSPs")
 |