Migrate to NvChad v2.5
This commit is contained in:
		
							
								
								
									
										15
									
								
								lua/configs/conform.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										15
									
								
								lua/configs/conform.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,15 @@ | ||||
| local options = { | ||||
|   formatters_by_ft = { | ||||
|     lua = { "stylua" }, | ||||
|     -- css = { "prettier" }, | ||||
|     -- html = { "prettier" }, | ||||
|   }, | ||||
|  | ||||
|   -- format_on_save = { | ||||
|   --   -- These options will be passed to conform.format() | ||||
|   --   timeout_ms = 500, | ||||
|   --   lsp_fallback = true, | ||||
|   -- }, | ||||
| } | ||||
|  | ||||
| require("conform").setup(options) | ||||
							
								
								
									
										47
									
								
								lua/configs/lazy.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										47
									
								
								lua/configs/lazy.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,47 @@ | ||||
| return { | ||||
|   defaults = { lazy = true }, | ||||
|   install = { colorscheme = { "nvchad" } }, | ||||
|  | ||||
|   ui = { | ||||
|     icons = { | ||||
|       ft = "", | ||||
|       lazy = " ", | ||||
|       loaded = "", | ||||
|       not_loaded = "", | ||||
|     }, | ||||
|   }, | ||||
|  | ||||
|   performance = { | ||||
|     rtp = { | ||||
|       disabled_plugins = { | ||||
|         "2html_plugin", | ||||
|         "tohtml", | ||||
|         "getscript", | ||||
|         "getscriptPlugin", | ||||
|         "gzip", | ||||
|         "logipat", | ||||
|         "netrw", | ||||
|         "netrwPlugin", | ||||
|         "netrwSettings", | ||||
|         "netrwFileHandlers", | ||||
|         "matchit", | ||||
|         "tar", | ||||
|         "tarPlugin", | ||||
|         "rrhelper", | ||||
|         "spellfile_plugin", | ||||
|         "vimball", | ||||
|         "vimballPlugin", | ||||
|         "zip", | ||||
|         "zipPlugin", | ||||
|         "tutor", | ||||
|         "rplugin", | ||||
|         "syntax", | ||||
|         "synmenu", | ||||
|         "optwin", | ||||
|         "compiler", | ||||
|         "bugreport", | ||||
|         "ftplugin", | ||||
|       }, | ||||
|     }, | ||||
|   }, | ||||
| } | ||||
							
								
								
									
										13
									
								
								lua/configs/lspconfig.lua
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								lua/configs/lspconfig.lua
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,13 @@ | ||||
| local lspconfig = require("lspconfig") | ||||
|  | ||||
| lspconfig.pylsp.setup{ | ||||
|   settings = { | ||||
|     pylsp = { | ||||
|       plugins = { | ||||
|         pycodestyle = { | ||||
|           maxLineLength = 79 | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user