new pluggins
This commit is contained in:
		
							parent
							
								
									ce804e1a1a
								
							
						
					
					
						commit
						f7b8001852
					
				
							
								
								
									
										3
									
								
								init.lua
								
								
								
								
							
							
						
						
									
										3
									
								
								init.lua
								
								
								
								
							|  | @ -5,8 +5,7 @@ vim.g.mapleader = ' ' | |||
| vim.g.maplocalleader = ' ' | ||||
| 
 | ||||
| -- Set to true if you have a Nerd Font installed | ||||
| vim.g.have_nerd_font = false | ||||
| 
 | ||||
| vim.g.have_nerd_font = true | ||||
| 
 | ||||
| -- [[ Setting options ]] | ||||
| require 'options' | ||||
|  |  | |||
|  | @ -2,16 +2,17 @@ return { | |||
|   { -- Autoformat | ||||
|     'stevearc/conform.nvim', | ||||
|     enabled = true, | ||||
|     lazy = false, | ||||
|     keys = { | ||||
|       { '<leader>cf', '<cmd>lua require("conform").format()<cr>', desc = '[f]ormat' }, | ||||
|     }, | ||||
|     config = function() | ||||
|       require('conform').setup { | ||||
|         notify_on_error = false, | ||||
|         -- format_on_save = { | ||||
|         --   timeout_ms = 500, | ||||
|         --   lsp_fallback = true, | ||||
|         -- }, | ||||
|         format_on_save = { | ||||
|           timeout_ms = 500, | ||||
|           lsp_fallback = true, | ||||
|         }, | ||||
|         formatters_by_ft = { | ||||
|           lua = { 'mystylua' }, | ||||
|           python = { 'isort', 'black' }, | ||||
|  |  | |||
|  | @ -152,12 +152,6 @@ return { | |||
|         flags = lsp_flags, | ||||
|       } | ||||
| 
 | ||||
|       lspconfig.tsserver.setup { | ||||
|         capabilities = capabilities, | ||||
|         flags = lsp_flags, | ||||
|         filetypes = { 'js', 'javascript', 'typescript', 'ojs' }, | ||||
|       } | ||||
| 
 | ||||
|       local function get_quarto_resource_path() | ||||
|         local function strsplit(s, delimiter) | ||||
|           local result = {} | ||||
|  | @ -284,5 +278,5 @@ return { | |||
|         end, | ||||
|       } | ||||
|     end, | ||||
|   } | ||||
|   }, | ||||
| } | ||||
|  |  | |||
|  | @ -0,0 +1,14 @@ | |||
| return { | ||||
|   { | ||||
|     'pwntester/octo.nvim', | ||||
|     requires = { | ||||
|       'nvim-lua/plenary.nvim', | ||||
|       'nvim-telescope/telescope.nvim', | ||||
|       -- OR 'ibhagwan/fzf-lua', | ||||
|       'nvim-tree/nvim-web-devicons', | ||||
|     }, | ||||
|     config = function() | ||||
|       require('octo').setup() | ||||
|     end, | ||||
|   }, | ||||
| } | ||||
|  | @ -0,0 +1,5 @@ | |||
| return { | ||||
|   { | ||||
|     'nvim-tree/nvim-web-devicons', | ||||
|   }, | ||||
| } | ||||
|  | @ -49,6 +49,9 @@ require('lazy').setup({ | |||
| 
 | ||||
|   require 'kickstart.plugins.copilot-chat', | ||||
| 
 | ||||
|   require 'kickstart.plugins.octo', | ||||
| 
 | ||||
|   require 'kickstart.plugins.web-dev-icons', | ||||
| }, { | ||||
|   ui = { | ||||
|     -- If you are using a Nerd Font: set icons to an empty table which will use the | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue