remove some stuff
This commit is contained in:
		
							parent
							
								
									4d410eee9d
								
							
						
					
					
						commit
						c292dd4580
					
				
					 3 changed files with 72 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								fnl/plugins/colorizer.fnl
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								fnl/plugins/colorizer.fnl
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,6 @@ | ||||||
|  | (import-macros {: set!} :hibiscus.vim) | ||||||
|  | 
 | ||||||
|  | (set! termguicolors true) | ||||||
|  | 
 | ||||||
|  | (local colorizer (require :nvim-highlight-colors)) | ||||||
|  | (colorizer.setup) | ||||||
							
								
								
									
										27
									
								
								fnl/plugins/hlchunk.fnl
									
										
									
									
									
										Executable file
									
								
							
							
						
						
									
										27
									
								
								fnl/plugins/hlchunk.fnl
									
										
									
									
									
										Executable file
									
								
							|  | @ -0,0 +1,27 @@ | ||||||
|  | (local hlchunk (require :hlchunk)) | ||||||
|  | 
 | ||||||
|  | (hlchunk.setup { | ||||||
|  | 	:indent { | ||||||
|  | 		:enable true | ||||||
|  | 		:chars [ "." "." "." "." ] | ||||||
|  | 
 | ||||||
|  | 		:style | ||||||
|  | 			{ :#888888 | ||||||
|  | 			  :#666666 | ||||||
|  | 			  :#444444 | ||||||
|  | 			  :#333333 | ||||||
|  | 			  :#333333 | ||||||
|  | 			  :#333333 | ||||||
|  | 			  :#333333 | ||||||
|  | 			  :#333333 } } | ||||||
|  | 
 | ||||||
|  | 	:blank { :enable false } | ||||||
|  | 
 | ||||||
|  | 	:chunk { :enable false } | ||||||
|  | 
 | ||||||
|  | 	:line_num { | ||||||
|  | 		:enable false | ||||||
|  | 		:style :#ADBC9F | ||||||
|  | 	} | ||||||
|  | 
 | ||||||
|  | }) | ||||||
							
								
								
									
										39
									
								
								fnl/plugins/incline.fnl
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								fnl/plugins/incline.fnl
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,39 @@ | ||||||
|  | (local incline (require :incline)) | ||||||
|  | 
 | ||||||
|  | (incline.setup | ||||||
|  | 	{ :highlight | ||||||
|  | 	      { :groups | ||||||
|  | 		       { :InclineNormal | ||||||
|  | 			        { :default true | ||||||
|  | 					  :group :lualine_a_normal } | ||||||
|  | 
 | ||||||
|  | 				:InclineNormalNC | ||||||
|  | 				    { :default true | ||||||
|  | 					  :group :Comment } }} | ||||||
|  | 	 :window | ||||||
|  | 	     { :margin | ||||||
|  | 		       { :vertical 0 | ||||||
|  | 			     :horizontal 1 }} | ||||||
|  | 	 ; :render | ||||||
|  | 	 ;     (fn [props] | ||||||
|  | 	 ;      (let | ||||||
|  | 	 ; 	     [ | ||||||
|  | 	 ; 		   filename (vim.fn.fnamemodify (vim.api.nvim_buf_get_name props.buf) ::t) | ||||||
|  | 	 ; 		   [icon color] (require :nvim-web-devicons).get_icon_color filename | ||||||
|  | 	 ; 		 ] | ||||||
|  | 	 ; | ||||||
|  | 	 ; 		 ([ | ||||||
|  | 	 ; 		    { icon | ||||||
|  | 	 ; 		      { :guifg color } } | ||||||
|  | 	 ; | ||||||
|  | 	 ; 			  [(if icon " " "")] | ||||||
|  | 	 ; | ||||||
|  | 	 ; 			  [filename] ]) )) | ||||||
|  | 	}) | ||||||
|  | 
 | ||||||
|  | 
 | ||||||
|  | ;         render = function(props) | ||||||
|  | ;           local filename = vim.fn.fnamemodify(vim.api.nvim_buf_get_name(props.buf), ":t") | ||||||
|  | ;           local icon, color = require("nvim-web-devicons").get_icon_color(filename) | ||||||
|  | ;           return { { icon, guifg = color }, { icon and " " or "" }, { filename } } | ||||||
|  | ;         end, | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue