Include snippets
This commit is contained in:
		
							parent
							
								
									2bab49a2e4
								
							
						
					
					
						commit
						98d68b6cd9
					
				@ -2239,7 +2239,6 @@ These help speed eglot up apparently [[https://www.reddit.com/r/emacs/comments/1
 | 
			
		||||
(setq lsp-ui-doc-position 'at-point)
 | 
			
		||||
(setq lsp-ui-doc-show-with-mouse nil)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
(require 'flycheck)
 | 
			
		||||
(setq flycheck-check-syntax-automatically '())
 | 
			
		||||
(setq flycheck-keymap-prefix (kbd "C-c e"))
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										6
									
								
								.config/emacs/snippets/csharp-mode/Debug.Break() (Unity)
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.config/emacs/snippets/csharp-mode/Debug.Break() (Unity)
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
# -*- mode: snippet -*-
 | 
			
		||||
# name: Debug.Break() (Unity)
 | 
			
		||||
# key: db
 | 
			
		||||
# --
 | 
			
		||||
 | 
			
		||||
Debug.Break();$0
 | 
			
		||||
							
								
								
									
										6
									
								
								.config/emacs/snippets/csharp-mode/Debug.Log() (Unity)
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								.config/emacs/snippets/csharp-mode/Debug.Log() (Unity)
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,6 @@
 | 
			
		||||
# -*- mode: snippet -*-
 | 
			
		||||
# name: Debug.Log() (Unity)
 | 
			
		||||
# key: dl
 | 
			
		||||
# --
 | 
			
		||||
 | 
			
		||||
Debug.Log($0);
 | 
			
		||||
							
								
								
									
										9
									
								
								.config/emacs/snippets/csharp-mode/Unity Awake
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.config/emacs/snippets/csharp-mode/Unity Awake
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
# -*- mode: snippet -*-
 | 
			
		||||
# name: Unity Awake
 | 
			
		||||
# key: awa
 | 
			
		||||
# --
 | 
			
		||||
 | 
			
		||||
void Awake()
 | 
			
		||||
{
 | 
			
		||||
    $0
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								.config/emacs/snippets/csharp-mode/Unity OnDestroy
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.config/emacs/snippets/csharp-mode/Unity OnDestroy
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
# -*- mode: snippet -*-
 | 
			
		||||
# name: Unity OnDestroy
 | 
			
		||||
# key: des
 | 
			
		||||
# --
 | 
			
		||||
 | 
			
		||||
void OnDestroy()
 | 
			
		||||
{
 | 
			
		||||
    $0
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										4
									
								
								.config/emacs/snippets/csharp-mode/Unity SerializeField
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										4
									
								
								.config/emacs/snippets/csharp-mode/Unity SerializeField
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,4 @@
 | 
			
		||||
# key: sf
 | 
			
		||||
# name: Unity SerializeField
 | 
			
		||||
# --
 | 
			
		||||
[SerializeField] private $0
 | 
			
		||||
							
								
								
									
										9
									
								
								.config/emacs/snippets/csharp-mode/Unity Update
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.config/emacs/snippets/csharp-mode/Unity Update
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
# -*- mode: snippet -*-
 | 
			
		||||
# name: Unity Update
 | 
			
		||||
# key: upd
 | 
			
		||||
# --
 | 
			
		||||
 | 
			
		||||
void Update()
 | 
			
		||||
{
 | 
			
		||||
    $0
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										8
									
								
								.config/emacs/snippets/csharp-mode/csharp foreach
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								.config/emacs/snippets/csharp-mode/csharp foreach
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,8 @@
 | 
			
		||||
# -*- mode: snippet -*-
 | 
			
		||||
# name: csharp foreach
 | 
			
		||||
# key: fore
 | 
			
		||||
# --
 | 
			
		||||
foreach (var ${1:item} in ${2:list})
 | 
			
		||||
{
 | 
			
		||||
    $0
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								.config/emacs/snippets/csharp-mode/for (int i)
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.config/emacs/snippets/csharp-mode/for (int i)
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
# -*- mode: snippet -*-
 | 
			
		||||
# name: for (int i)
 | 
			
		||||
# key: fori
 | 
			
		||||
# --
 | 
			
		||||
 | 
			
		||||
for (int i = 0; i < $1; i++)
 | 
			
		||||
{
 | 
			
		||||
    $0
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										9
									
								
								.config/emacs/snippets/csharp-mode/for (int j)
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										9
									
								
								.config/emacs/snippets/csharp-mode/for (int j)
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,9 @@
 | 
			
		||||
# -*- mode: snippet -*-
 | 
			
		||||
# name: for (int j)
 | 
			
		||||
# key: forj
 | 
			
		||||
# --
 | 
			
		||||
 | 
			
		||||
for (int j = 0; i < $1; j++)
 | 
			
		||||
{
 | 
			
		||||
    $0
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							@ -1,6 +1,7 @@
 | 
			
		||||
.config/emacs/*
 | 
			
		||||
!.config/emacs/init.org
 | 
			
		||||
!.config/emacs/elisp/
 | 
			
		||||
!.config/emacs/snippets
 | 
			
		||||
!.config/emacs/elisp/welcome.el
 | 
			
		||||
!.config/emacs/Emacs@256.png
 | 
			
		||||
/.config/nvim/plugin/
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user