Some updates
This commit is contained in:
		
							parent
							
								
									3de3192626
								
							
						
					
					
						commit
						bdda099700
					
				
							
								
								
									
										21
									
								
								config.toml
									
									
									
									
									
								
							
							
						
						
									
										21
									
								
								config.toml
									
									
									
									
									
								
							| 
						 | 
				
			
			@ -1,4 +1,14 @@
 | 
			
		|||
theme = "onedark"
 | 
			
		||||
# dark themes
 | 
			
		||||
# theme = "ao"
 | 
			
		||||
theme = "dracula_at_night"
 | 
			
		||||
# theme = "molokai"
 | 
			
		||||
# theme = "new_moon"
 | 
			
		||||
# theme = "onedark"
 | 
			
		||||
# theme = "everblush"
 | 
			
		||||
 | 
			
		||||
# light themes
 | 
			
		||||
# theme = "modus_operandi"
 | 
			
		||||
# theme = "emacs"
 | 
			
		||||
 | 
			
		||||
[editor]
 | 
			
		||||
true-color = true
 | 
			
		||||
| 
						 | 
				
			
			@ -8,18 +18,15 @@ text-width = 120
 | 
			
		|||
end-of-line-diagnostics = "hint"
 | 
			
		||||
 | 
			
		||||
[editor.inline-diagnostics]
 | 
			
		||||
cursor-line = "warning" # show warnings and errors on the cursorline inline
 | 
			
		||||
cursor-line = "warning"
 | 
			
		||||
 | 
			
		||||
[editor.cursor-shape]
 | 
			
		||||
insert = "bar"
 | 
			
		||||
#normal = "block"
 | 
			
		||||
#select = "underline"
 | 
			
		||||
 | 
			
		||||
[editor.statusline]
 | 
			
		||||
left = ["mode", "file-modification-indicator", "file-name", "read-only-indicator", "version-control"]
 | 
			
		||||
center = []
 | 
			
		||||
right = ["diagnostics", "selections", "position"]
 | 
			
		||||
#separator = "│"
 | 
			
		||||
mode.normal = "NORMAL"
 | 
			
		||||
mode.insert = "INSERT"
 | 
			
		||||
mode.select = "SELECT"
 | 
			
		||||
| 
						 | 
				
			
			@ -41,7 +48,7 @@ newline = "⏎"
 | 
			
		|||
 | 
			
		||||
[editor.indent-guides]
 | 
			
		||||
render = true
 | 
			
		||||
character = "┆" # Some characters that work well: "▏", "╎", "┆", "┊", "⸽"
 | 
			
		||||
character = "︳" # Some characters that work well: "︳", "▏", "╎", "┆", "┊", "⸽"
 | 
			
		||||
skip-levels = 1
 | 
			
		||||
 | 
			
		||||
[editor.soft-wrap]
 | 
			
		||||
| 
						 | 
				
			
			@ -50,3 +57,5 @@ wrap-indicator = ""  # set wrap-indicator to "" to hide it
 | 
			
		|||
#max-wrap = 25 # increase value to reduce forced mid-word wrapping
 | 
			
		||||
#max-indent-retain = 0
 | 
			
		||||
 | 
			
		||||
[keys.normal]
 | 
			
		||||
C-k = ":format"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -3,6 +3,7 @@ name = "python"
 | 
			
		|||
file-types = ["py"]
 | 
			
		||||
comment-tokens = "#"
 | 
			
		||||
indent = { tab-width = 4, unit = "    "}
 | 
			
		||||
formatter = { command = "ruff", args = ["format"] }
 | 
			
		||||
language-servers = ["pylsp", "python-ruff"]
 | 
			
		||||
roots = ["setup.py", "pyproject.toml"]
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -18,7 +19,8 @@ args = ["server"]
 | 
			
		|||
name = "go"
 | 
			
		||||
file-types = ["go"]
 | 
			
		||||
comment-tokens = "//"
 | 
			
		||||
indent = { tab-width = 4, unit = "\t"}
 | 
			
		||||
indent = { tab-width = 4, unit = "\t" }
 | 
			
		||||
formatter = { command = "go", args = ["fmt"] }
 | 
			
		||||
language-servers = ["gopls"]
 | 
			
		||||
roots = ["go.mod"]
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user