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