Some regular maintenance and minor support updates.
This commit is contained in:
		
							parent
							
								
									589bbeeb68
								
							
						
					
					
						commit
						6dd28266f7
					
				
					 6 changed files with 44 additions and 4 deletions
				
			
		
							
								
								
									
										6
									
								
								.bashrc
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								.bashrc
									
										
									
									
									
								
							|  | @ -97,6 +97,12 @@ if [ -d "$N_PREFIX/bin" ]; then | |||
|     export PATH="$N_PREFIX/bin:$PATH" | ||||
| fi | ||||
| 
 | ||||
| export DOTNET_ROOT="$HOME/.dotnet" | ||||
| export DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||||
| if [ -d "$DOTNET_ROOT" ]; then | ||||
|     export PATH="$DOTNET_ROOT:$DOTNET_ROOT/tools:$PATH" | ||||
| fi | ||||
| 
 | ||||
| # ============================================================================= | ||||
| # SSH Agent Management | ||||
| # ============================================================================= | ||||
|  |  | |||
|  | @ -79,6 +79,16 @@ vim.api.nvim_create_autocmd("FileType", { | |||
|     end, | ||||
| }) | ||||
| 
 | ||||
| ----------------------------------------------------------- | ||||
| -- Custom File Types | ||||
| ----------------------------------------------------------- | ||||
| vim.api.nvim_create_autocmd({"BufRead", "BufNewFile"}, { | ||||
|     pattern = {'*.aum', '*.aui'}, | ||||
|     callback = function() | ||||
|         vim.bo.filetype = "austral" | ||||
|     end, | ||||
| }) | ||||
| 
 | ||||
| ----------------------------------------------------------- | ||||
| -- Memory, CPU | ||||
| ----------------------------------------------------------- | ||||
|  |  | |||
|  | @ -48,3 +48,4 @@ map('n', '<leader>rn', vim.lsp.buf.rename, { desc = 'Rename' }) | |||
| map('n', '<leader>ca', vim.lsp.buf.code_action, { desc = 'Code Action' }) | ||||
| map('n', '[c', '<cmd>lua vim.diagnostic.goto_prev({ wrap = false })<CR>', { desc = 'prev diagnostic' }) | ||||
| map('n', ']c', '<cmd>lua vim.diagnostic.goto_next({ wrap = false })<CR>', { desc = 'next diagnostic' }) | ||||
| map('n', '<leader>ls', ':Telescope lsp_document_symbols<CR>', { desc = 'Browse Document Symbols' }) | ||||
|  |  | |||
|  | @ -315,21 +315,32 @@ require("lazy").setup({ | |||
|     { | ||||
|         'folke/todo-comments.nvim', | ||||
|         dependencies = 'nvim-lua/plenary.nvim', | ||||
|         config = function() | ||||
|             require("todo-comments").setup{} | ||||
|         end, | ||||
|     }, | ||||
| 
 | ||||
|     -- Racket support | ||||
|     -- ------------------------------------------------------------------------- | ||||
|     { | ||||
|         'benknoble/vim-racket', | ||||
|         event = 'BufEnter *.rkt', | ||||
|         event = 'BufReadPre,BufNewFile *.rkt', | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|     -- Janet support | ||||
|     -- ------------------------------------------------------------------------- | ||||
|     { | ||||
|         'bakpakin/janet.vim', | ||||
|         event = 'BufReadPre,BufNewFile *.janet', | ||||
|         lazy = true | ||||
|     }, | ||||
| 
 | ||||
|     -- PlantUML syntax | ||||
|     -- ------------------------------------------------------------------------- | ||||
|     { | ||||
|         'aklt/plantuml-syntax', | ||||
|         event = 'BufEnter *.puml', | ||||
|         event = 'BufReadPre,BufNewFile *.puml', | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|  | @ -337,7 +348,7 @@ require("lazy").setup({ | |||
|     -- ------------------------------------------------------------------------- | ||||
|     { | ||||
|         'hashivim/vim-terraform', | ||||
|         event = 'BufEnter *.tf', | ||||
|         event = 'BufReadPre,BufNewFile *.tf', | ||||
|         lazy = true, | ||||
|     }, | ||||
| 
 | ||||
|  |  | |||
|  | @ -2,7 +2,8 @@ require'nvim-treesitter.configs'.setup { | |||
|     -- One of "all", "maintained", or a list of languages | ||||
|     ensure_installed = { | ||||
|         "c", "zig", "bash", "scala", "yaml", "css", "javascript", | ||||
|         "latex", "clojure", "lua", "cpp", "hcl", "json" | ||||
|         "latex", "clojure", "lua", "cpp", "hcl", "json", "ocaml", | ||||
|         "gleam" | ||||
|     }, | ||||
| 
 | ||||
|     -- Install languages synchronously (only applied to `ensure_installed`) | ||||
|  |  | |||
							
								
								
									
										11
									
								
								.zshrc
									
										
									
									
									
								
							
							
						
						
									
										11
									
								
								.zshrc
									
										
									
									
									
								
							|  | @ -72,6 +72,12 @@ if [ -d "$GO_HOME/bin" ]; then | |||
|     export PATH="$GO_HOME/bin:$PATH" | ||||
| fi | ||||
| 
 | ||||
| export DOTNET_ROOT="$HOME/.dotnet" | ||||
| export DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||||
| if [ -d "$DOTNET_ROOT" ]; then | ||||
|     export PATH="$DOTNET_ROOT:$DOTNET_ROOT/tools:$PATH" | ||||
| fi | ||||
| 
 | ||||
| # ============================================================================= | ||||
| # SSH Agent Management | ||||
| # ============================================================================= | ||||
|  | @ -122,6 +128,11 @@ fpath=(~/.zsh $fpath) | |||
| 
 | ||||
| autoload -Uz compinit && compinit | ||||
| 
 | ||||
| # ============================================================================= | ||||
| # OPAM Completion | ||||
| # ============================================================================= | ||||
| [[ ! -r /home/pfm/.opam/opam-init/init.zsh ]] || source /home/pfm/.opam/opam-init/init.zsh  > /dev/null 2> /dev/null | ||||
| 
 | ||||
| # ============================================================================= | ||||
| # Enable Command Syntax Highlighting | ||||
| # This must be the last item in this file. | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 pfm
						pfm