prettier lvim theme
This commit is contained in:
		
							parent
							
								
									cd32287b8f
								
							
						
					
					
						commit
						939b23c312
					
				
					 3 changed files with 83 additions and 44 deletions
				
			
		|  | @ -10,9 +10,9 @@ Designed for Unix Systems. | ||||||
| * Install [NeoVim](https://neovim.io/) | * Install [NeoVim](https://neovim.io/) | ||||||
| * Install [LunarVim](https://www.lunarvim.org/) | * Install [LunarVim](https://www.lunarvim.org/) | ||||||
|   `lvim` to run |   `lvim` to run | ||||||
|   Additional config in `lvim.config` |   Additional config in `config.lua` | ||||||
| * Install fzf | * Install fzf | ||||||
|   ```bash |   ```sh | ||||||
|   git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf |   git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf | ||||||
|   ~/.fzf/install |   ~/.fzf/install | ||||||
|   ``` |   ``` | ||||||
|  |  | ||||||
							
								
								
									
										81
									
								
								config.lua
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										81
									
								
								config.lua
									
										
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,81 @@ | ||||||
|  | -- Read the docs: https://www.lunarvim.org/docs/configuration | ||||||
|  | -- Video Tutorials: https://www.youtube.com/watch?v=sFA9kX-Ud_c&list=PLhoH5vyxr6QqGu0i7tt_XoVK9v-KvZ3m6 | ||||||
|  | -- Forum: https://www.reddit.com/r/lunarvim/ | ||||||
|  | -- Discord: https://discord.com/invite/Xb9B4Ny | ||||||
|  | -- | ||||||
|  | 
 | ||||||
|  | -- Generic Custom Settings | ||||||
|  | vim.opt.relativenumber = true | ||||||
|  | vim.opt.mouse = "" | ||||||
|  | lvim.transparent_window = true | ||||||
|  | vim.g.codestats_api_key = 'SFMyNTY.WjJGcFpYUjUjI01qSXhPVFU9.fMtCrS4QvdQKCgS_pasnqpWGUyrk3At646kPkN7LIn8' | ||||||
|  | 
 | ||||||
|  | -- Custom Plugins | ||||||
|  | lvim.plugins = { | ||||||
|  |   { "catppuccin/nvim", name = "catppuccin", priority = 1000 }, | ||||||
|  |   { url = "https://gitlab.com/code-stats/code-stats-vim.git"} | ||||||
|  | } | ||||||
|  | 
 | ||||||
|  | -- Theme Overrides | ||||||
|  | require("catppuccin").setup({ | ||||||
|  |   flavour = "macchiato", -- latte, frappe, macchiato, mocha | ||||||
|  |   background = { -- :h background | ||||||
|  |     light = "latte", | ||||||
|  |     dark = "mocha", | ||||||
|  |   }, | ||||||
|  |   transparent_background = true, -- disables setting the background color. | ||||||
|  |   show_end_of_buffer = false, -- shows the '~' characters after the end of buffers | ||||||
|  |   term_colors = false, -- sets terminal colors (e.g. `g:terminal_color_0`) | ||||||
|  |   dim_inactive = { | ||||||
|  |     enabled = true, -- dims the background color of inactive window | ||||||
|  |     shade = "dark", | ||||||
|  |     percentage = 0.15, -- percentage of the shade to apply to the inactive window | ||||||
|  |   }, | ||||||
|  |   styles = { -- Handles the styles of general hi groups (see `:h highlight-args`): | ||||||
|  |     comments = { "italic" }, -- Change the style of comments | ||||||
|  |     conditionals = { "italic" }, | ||||||
|  |     loops = {}, | ||||||
|  |     functions = {}, | ||||||
|  |     keywords = {}, | ||||||
|  |     strings = {}, | ||||||
|  |     variables = {}, | ||||||
|  |     numbers = {}, | ||||||
|  |     booleans = {}, | ||||||
|  |     properties = {}, | ||||||
|  |     types = {}, | ||||||
|  |     operators = {}, | ||||||
|  |     -- miscs = {}, -- Uncomment to turn off hard-coded styles | ||||||
|  |   }, | ||||||
|  |   color_overrides = {}, | ||||||
|  |   custom_highlights = {}, | ||||||
|  | }) | ||||||
|  | 
 | ||||||
|  | vim.cmd[[colorscheme catppuccin]] | ||||||
|  | lvim.colorscheme = "catppuccin" | ||||||
|  | 
 | ||||||
|  | -- DAP | ||||||
|  | local dap = require('dap') | ||||||
|  | dap.configurations.typescript = { | ||||||
|  |     { | ||||||
|  |         name = "Launch", | ||||||
|  |         type = "node2", | ||||||
|  |         request = "launch", | ||||||
|  |         cwd = vim.loop.cwd(), | ||||||
|  |         runtimeArgs = { "-r", "ts-node/register" }, | ||||||
|  |         runtimeExecutable = "node", | ||||||
|  |         args = {"--inspect", "${file}"}, | ||||||
|  |         sourceMaps = true, | ||||||
|  |         skipFiles = { "<node_internals>/**", "node_modules/**" }, | ||||||
|  |     }, { | ||||||
|  |         name = "Attach", | ||||||
|  |         type = "node2", | ||||||
|  |         request = "attach", | ||||||
|  |         processId = require 'dap.utils'.pick_process, | ||||||
|  |     } | ||||||
|  | 
 | ||||||
|  | } | ||||||
|  | dap.adapters.node2 = { | ||||||
|  |   type = 'executable', | ||||||
|  |   command = 'node', | ||||||
|  |   args = {os.getenv('HOME') .. '/dev/microsoft/vscode-node-debug2/out/src/nodeDebug.js'}, | ||||||
|  | } | ||||||
							
								
								
									
										42
									
								
								lvim.config
									
										
									
									
									
								
							
							
						
						
									
										42
									
								
								lvim.config
									
										
									
									
									
								
							|  | @ -1,42 +0,0 @@ | ||||||
| vim.opt.relativenumber = true |  | ||||||
| 
 |  | ||||||
| lvim.transparent_window = true |  | ||||||
| 
 |  | ||||||
| vim.g.codestats_api_key = 'SFMyNTY.WjJGcFpYUjUjI01qSXhPVFU9.fMtCrS4QvdQKCgS_pasnqpWGUyrk3At646kPkN7LIn8' |  | ||||||
| 
 |  | ||||||
| lvim.plugins = { |  | ||||||
|   { "dracula/vim" }, |  | ||||||
|   { url = "https://gitlab.com/code-stats/code-stats-vim.git"} |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| vim.cmd[[colorscheme dracula]] |  | ||||||
| lvim.colorscheme = "dracula" |  | ||||||
| 
 |  | ||||||
| local dap = require('dap') |  | ||||||
| 
 |  | ||||||
| dap.configurations.typescript = { |  | ||||||
|     { |  | ||||||
|         name = "Launch", |  | ||||||
|         type = "node2", |  | ||||||
|         request = "launch", |  | ||||||
|         cwd = vim.loop.cwd(), |  | ||||||
|         runtimeArgs = { "-r", "ts-node/register" }, |  | ||||||
|         runtimeExecutable = "node", |  | ||||||
|         args = {"--inspect", "${file}"}, |  | ||||||
|         sourceMaps = true, |  | ||||||
|         skipFiles = { "<node_internals>/**", "node_modules/**" }, |  | ||||||
|     }, { |  | ||||||
|         name = "Attach", |  | ||||||
|         type = "node2", |  | ||||||
|         request = "attach", |  | ||||||
|         processId = require 'dap.utils'.pick_process, |  | ||||||
|     } |  | ||||||
| 
 |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
| dap.adapters.node2 = { |  | ||||||
|   type = 'executable', |  | ||||||
|   command = 'node', |  | ||||||
|   args = {os.getenv('HOME') .. '/dev/microsoft/vscode-node-debug2/out/src/nodeDebug.js'}, |  | ||||||
| } |  | ||||||
| 
 |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ava Gaiety W
						Ava Gaiety W