final touches?
This commit is contained in:
		
							parent
							
								
									f7d7d75bb3
								
							
						
					
					
						commit
						17e51c791d
					
				|  | @ -12,11 +12,11 @@ | ||||||
|                                              (let [msg "No Active Lsp" |                                              (let [msg "No Active Lsp" | ||||||
|                                                    buf_ft (vim.api.nvim_buf_get_option 0 "filetype") |                                                    buf_ft (vim.api.nvim_buf_get_option 0 "filetype") | ||||||
|                                                    clients (vim.lsp.get_active_clients)] |                                                    clients (vim.lsp.get_active_clients)] | ||||||
|                                               (if (= (next clients) nil) msg) |                                                (if (= (next clients) nil) msg) | ||||||
|                                               (each [_ client (ipairs clients)] |                                                (each [_ client (ipairs clients)] | ||||||
|                                                (let [filetypes (. client :config :filetypes)] |                                                  (let [filetypes (. client :config :filetypes)] | ||||||
|                                                  (if (and filetypes (vim.fn.index filetypes buf_ft)) client.name))) |                                                    (if (and filetypes (vim.fn.index filetypes buf_ft)) client.name))) | ||||||
|                                               msg))] |                                                msg))] | ||||||
|                              :lualine_x [:filetype]}})) |                              :lualine_x [:filetype]}})) | ||||||
| 
 | 
 | ||||||
| (require :neo-tree) | (require :neo-tree) | ||||||
|  |  | ||||||
|  | @ -20,7 +20,7 @@ | ||||||
|    #   " match with %link |    #   " match with %link | ||||||
|    #   syntax match VimwikiPlaceholder /^\s*%link\ze\%(\s.*\)\?$/ nextgroup=VimwikiPlaceholderParam skipwhite |    #   syntax match VimwikiPlaceholder /^\s*%link\ze\%(\s.*\)\?$/ nextgroup=VimwikiPlaceholderParam skipwhite | ||||||
|    # ''; |    # ''; | ||||||
|     ".config/nvim".source = ./config; |    ".config/nvim".source = ./config; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   #environment.systemPackages = with customPlugins; [ tidal ]; |   #environment.systemPackages = with customPlugins; [ tidal ]; | ||||||
|  |  | ||||||
		Loading…
	
		Reference in a new issue