Migrate vim vscode jsonc filetype detection to nvim
							parent
							
								
									58df131415
								
							
						
					
					
						commit
						6ed4de0b11
					
				| 
						 | 
				
			
			@ -3,6 +3,7 @@ vim.filetype.add({
 | 
			
		|||
    [".lintstagedrc"] = "json",
 | 
			
		||||
  },
 | 
			
		||||
  pattern = {
 | 
			
		||||
    [".*/%.vscode/.*%.json"] = "jsonc",
 | 
			
		||||
    [".*/%.ssh/config%.d/.*"] = "sshconfig",
 | 
			
		||||
  },
 | 
			
		||||
})
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -14,8 +14,6 @@ Plug 'pangloss/vim-javascript', { 'for': ['javascript', 'javascript.jsx'] }
 | 
			
		|||
Plug 'leafgarland/typescript-vim', { 'for': ['typescript', 'typescript.tsx'] }
 | 
			
		||||
Plug 'peitalin/vim-jsx-typescript', { 'for': ['typescript.tsx'] }
 | 
			
		||||
Plug 'evanleck/vim-svelte', {'branch': 'main'}
 | 
			
		||||
" JSON with comments
 | 
			
		||||
Plug 'neoclide/jsonc.vim'
 | 
			
		||||
" Jupyter
 | 
			
		||||
Plug 'quarto-dev/quarto-vim'
 | 
			
		||||
" LaTeX
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,3 +0,0 @@
 | 
			
		|||
" JSONC (see https://github.com/neoclide/jsonc.vim/pull/9")
 | 
			
		||||
au BufNewFile,BufRead */.vscode/*.json setlocal filetype=jsonc
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue